🚀 Release alert 🚀 - React Query now has improved support for serverside rendering! 🥳
Being able to de/rehydrate the cache between server/client is probably my largest OSS contribution so far. This also supports persisting to/from localstorage.
react-query.tanstack.com/doc…
I enjoy working from home, but today I really miss being able to celebrate in person with all the colleagues who did such a great job on pushing this through.. 🥰
Today I'm celebrating a major win at work. An incremental refactor around data fetching that I designed is finished and the old abstraction is gone.
It's a lot of work setting up backwards compatible solutions, and it's easy to loose momentum, but it feels so good when it works!
Back at work and hence the computer after a long summer. With two kids and a new house, this has been the time in my life with the least computer-time ever which has been a nice change, but also glad to be back!
Coming soon to Next.js: you no longer have to provide `href` and `as` for dynamic routes, only `href` will be enough 🚀
In Next.js 9.5 we made some big changes to the Next.js runtime that made this possible.
This is available on next@canary if you want to try it out.
@ephemjs is killing it with SSR react across a bunch of different projects, I keep stumbling across his name in issues/PRs (react-query, react-lightyear, react-helmet-async 🤯).
I'd love the discussion about SSR react to be less about frameworks and more about this. @dan_abramov
I just discovered @code Search Editors, and they're completely off the hook awesome. Find across workspace, edit results inline with multi cursor, cross-file undo stack, you name it 🤯
ALT GIF showing VS Code Search Editors being used to edit many files at once.
Introducing Rome: A linter for JavaScript and TypeScript. The first in a suite of tools for frontend languages that includes bundling, compiling, testing, and more. romefrontend.dev/blog/2020/0…
sweden eschewed lockdown
some have claimed it is a disaster and the horror of scandanavia
others that this was wise and that it's mostly the more aggressive swedish counting for COV that has driven result divergence
all cause deaths can give us insight into which is correct.
I know it's probably bad, but on a scale 1-10, exactly HOW bad is reading the content of a DOM-node inside render if you memoize it..? 😇
What kind of trouble am I asking for?
SCOOP with @MikeIsaac, Facebook employees are staging a walkout today for the first time in the company's history. They are protesting the decision by Zuckerberg to allow Trump's post to stand: nytimes.com/2020/06/01/techn…
I had a hunch that this was too good to be true, and it turns out that was correct, we had different gzip compression levels in different environments.. Real numbers are around 7% uncompressed and about half that after gzip.
By targeting Safari 12 capabilities and up we seem to gain an extra 10-15% decrease in JS-payload compared to targeting es modules-capable browsers, without moving very many users to the "legacy"-condition.
We can do this because we use UA instead of the module/nomodule pattern.
"Some of you have gotten really good at solving this, and have become expert selector, caching, and memoization developers"
I feel seen.
"..these are all solutions that are all but necessary due to problems that are caused solely by using a global, atomic store."
Oh. Right. 😓
Both these posts are very, very good and on point. 👏
I once used to be a global state proponent and wish I would have read these a few years ago so I could have skipped that phase in my life.. 😊