React Round Up

React Round Up


RRU 078: The Uncanny Valley with Håkon Krogh

September 10, 2019

Episode Summary

Today’s guest is Håkon Krogh, and the panel is discussing his talk on lightning fast SSR React apps given at React Amsterdam. He gives a brief overview and defines his use of the Uncanny Valley (called the Valley of Lies in his talk). In this instance, the Uncanny Valley in programming occurs when everything in a website or application looks great, but none of the buttons work or users simply can’t connect. This is especially common when users try to connect to a site or app with their cell phone rather than a computer.

The panel discusses what can be done. It’s important to begin by measuring the lag in your applications. Designing the progressive loading experience first is suggested as a solution, as well as organizing what loads first and using React and HTML for different parts of the app. It’s important to realize that some tools don’t work in every situation. The panel talks about the merits of Next.js. 

Next they talk about what kinds of applications require SSR that make the loading slow. They discuss the importance of SEO ratings and how it can affect your rank in a Google search. Services like Lighthouse can give you an SEO rating so that you can improve. 

Håkon and the panel talk about other ways to improve on the Uncanny Valley. It’s important to make sure that users have a way to use your site even if they’re stuck in the Uncanny Valley. One way to do this is to provide fallbacks so that if your React isn’t working, the site is still usable. They discuss the merits of micro frontends, using SSR for only part of the app, and reducing bundle size. Unfortunately there is no silver bullet, so solutions will vary by what you’re building. 

In spite of these setbacks, one of the great features of React is you don’t have to do everything in React. They discuss the emerging idea of shipping different JavaScript for different things and talk about some of the React-like alternatives available. Bridging the Uncanny Valley is vital because it is the reason many people are afraid of their computers, and a good user experience can make people gravitate towards your product. The show concludes with Håkon talking about things in the React community that are piquing his interest. 

Panelists


David Ceddia


Thomas Aylott


With special guest: Håkon Krogh

Sponsors


Sustain Our Software


Sentry use the code “devchat” for 2 months free on Sentry’s small plan


GitLab | Get 30% off tickets with the promo code: DEVCHATCOMMIT


Links


Håkon Krogh’s React Amsterdam talk


Next.js


SEO ratings


Gatsby


Lighthouse 


Apollo GraphQL


npm


TypeScript


Preact


Inferno.js


Follow DevChatTV on Facebook and Twitter

Picks

David Ceddia:


FX


microjs.com


Thomas Aylott:


Mindset by Carol Dwek


Håkon Krogh:


Bundlephobia