Your daily frequent11y newsletter, brought to you by @ChrisBAshton:
- A surprisingly quick read despite its length: Houssein Djirdeh details several techniques for improving performance and accessibility of React applications. Use pre-rendered or server-side rendered (SSR) React, ideally hydrated in Node ‘streams’ rather than en-masse. Use streams for extracting critical CSS too. Various DevTools profilers help identify unnecessary component re-renders: override
shouldComponentUpdate
or inherit fromPureComponent
to mitigate. Split components withReact.lazy
(or with a library likeloadable-components
if SSR’d). A worthy read if you ever dabble with React.
Prefer longer newsletters? You can subscribe to week11y, fortnight11y or even month11y updates! Every newsletter gets the same content; it is your choice to have short, regular emails or longer, less frequent ones. Curated with ♥ by developer @ChrisBAshton.