Surma (Google) introduces a lib to use a Service Worker to create a React reducer (possibly async). Communication is efficiant thanks to ImmerJS and transmitting patches using
postMessage. Browser support is good, only Firefox needs a polyfill. Now let’s find a good use-case for this 🤷♂️, anyone?
Interesting thoughts on the current limits of end-2-end typing in Next.js, focusing on
and page props. There’s either too much manual boilerplate (risk of error), or a type helper
that might give surprisingly unsafe results. Evokes a TypeScript feature much-awaited by all frameworks: the ability to type module exports
. Presents other solutions like Blitz, Server Components or tRPC
. The last one looks quite interesting (see also the zart
boilerplate using it).
New reactive store for structured data (in tables, like SQL or Normalizr), with a React integration package including hooks like
useCell for efficient, fine-grained subscriptions. Small in size, but quite featured: index, relationships, undo/redo…