Freelance developer - React Query maintainer - Occasional OSS contributor - Been putting React on servers for a decade - Father of two - Homebrewer

Stockholm
Fredrik Höglund retweeted
Just released use-reducer-async v2.0.0! github.com/dai-shi/use-reduc… This version supports abortability and the API is slightly changed. Thanks to @ephemjs for the nice suggestion and the review. See this custom #ReactHooks used internally. #ReactJS #React #JavaScript #TypeScript
1
3
13
Fredrik Höglund retweeted
I haven't been able to spend a ton of time on the implementation the past few days but I did manage to write up an RFC: github.com/reactjs/rfcs/pull… Hope you all like it 🤪😅 This effectively supersedes my other two 119 and 118 and feels so much more promising
1
2
8
React 16.13.0 is out and includes stacktraces for SSR hydration mismatches! 🥳 Also contains bugfixes and a bunch of valuable new warnings and deprecations. reactjs.org/blog/2020/02/26/…
1
Fredrik Höglund retweeted
If I could, I’d throw a ‘party’ at a hotel where everyone gets their own room and unlimited room service and you don’t ever have to leave it till the next day.
2
1
12
Rome is finally open sourced! 🤩 The project has such an ambitious scope and aims to be an integrated compiler, linter, formatter, bundler, testing framework and more. 🤯
Rome, an experimental JavaScript toolchain, is now open source and available for contributors 🥳🏛️📜 It's far from production ready and there's a lot missing. There's no npm release, docs, website, or integrations available. Come help us build them! github.com/facebookexperimen…
TIL about observability, this thread was a really great read!
Replying to @swyx
The confusion is understandable. Several large, well funded vendors recently decided to redefine observability as "metrics, logs and traces", because interest in observability has been heating up, and - well - they have metrics, logging, and tracing tools to sell. 😑
1
Fredrik Höglund retweeted
We have some seriously cool stuff in store for React Router v6. The alpha we published last week is just the beginning; just the core. Stay tuned for some awesomeness!
1
3
68
Fredrik Höglund retweeted
If I'm reading this correctly, a long lived effect is emitted from inside a reducer and a later dispatch to that same reducer can cancel(/pass events) "back to that effect". After cancel, a new event is dispatched into the reducer which updates the state. Beautiful! 🤩👏
1
1
1
As is common at the start of any paradigm shift, we are still trying to evaluate a new mental model, that is not fully fleshed out or available yet, from the context of an old one.
2
Worry is natural since we know change is coming but it's hard to evaluate the upsides until we've seen them first hand and the ecosystem catches up. This is looking more and more promising, but I think there is still a lot of room for innovation.
1
The team is spending a lot of time building a good migration path, but even so I think CM is going to lead to the biggest churn and pains React has seen in a long time. Still, this is so much better than the framework and web UX stagnating.
1
1
Reading threads about Concurrent Mode is making me feel more and more that most of us are still thinking and worrying about the past and how it will affect existing codebases, while the core team is working hard on envisioning and building the future.
2
3
The lineup for @ReactAmsterdam is fantastic this year. Besides meeting people, this talk is probably what I’m most looking forward to. 🤩 Also, that beer and burger place close the venue is pretty epic too.. 🍻🍔
1
1
10
Fredrik Höglund retweeted
We're excited to release the highly-anticipated support for @Firefox and the new @MicrosoftEdge browsers in Cypress 4.0 🎉 bit.ly/39izARZ
32
584
1,565
If you are interested in Suspense and/or Concurrent mode you should go give @dai_shi a follow right away! He is constantly experimenting with, building and tweeting interesting things. 😍
1
This means I can abandon my experimental "capture DOM before and after hydration, send them to the server, run them through Prettier and jest-diff the output"-approach..
2
I just found this merged PR from December and I haven't been this stoked for a React release in a while.. 😍 "Notably, this adds component stacks to SSR hydration mismatch warnings. They can still sometimes be misleading but it's better than nothing." github.com/facebook/react/pu…
1
11
Fredrik Höglund retweeted
📣 Just published: React Router v6.0.0-alpha.0 👀 - Relative routes + links - Nested routes ala v3 - Automatic route ranking - Suspense-ready navigation - Object-based route config with useRoutes Our most ambitious release since v4 🤘 Release notes 👇 github.com/ReactTraining/rea…
26
256
995
Such core tech debt and the assumptions it leads to usually touches large parts of a system. This makes the core problem hard to spot and makes understanding the consequences of changes difficult, but is also why the payoffs can be so huge if you succeed.
6
I think spotting, planning for and following through on fixing foundational tech debt, without resorting to big rewrites, is one of the hardest things you can do in software development.
1
1
15