jasonbutz.info

Article Roundup - September 6, 2019

Article Roundup

React Hooks Mini Crash Course
React Hooks have been out for a bit now, but I haven’t had the chance to work with them or sit down and learn them. This article was originally a series of tweets and provides a great introduction to React Hooks.

Should a website work without JavaScript?
I recently discussed a site that I felt should be built to mostly function without JavaScript. I wanted to use Gatsby to pre-render the HTML and build the pages to link appropriately without JavaScript. A user might not get all of the site’s functionality, but they would be able to get the information from the pages. I got a lot of push back on that idea and whether the site needed to work without JavaScript. This article lists a lot of the arguments one way or another. It doesn’t provide any conclusions but does show some of the most common arguments.

The story of a V8 performance cliff in React
Relatively recently the React team noticed a performance cliff in React when profiling and running on the V8 JavaScript engine. The issue has now been mitigated by the React team, but it’s an interesting foray into optimization and memory representations at a lower level. It’s a bit of a read (or watch, there is a video too) but worth it.