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
You may know that #webpack plugins and loaders can emit errors and warnings, which are then displayed as part of the Stats output. #webpack 4.39.0 adds another thing that plugins and loaders can emit: Logging output. To support this there is now an integrated Logger API.
1
10
33
Fredrik Höglund retweeted
How does map, filter and reduce work? 😁😄 . . . #DevJoke #javascript #100daysofcode
44
1,015
2,822
Fredrik Höglund retweeted
We were told <React.Suspense> is not ready and we shouldn't use it with urql. That's why we're releasing urql-exchange-suspense, so you can try out GraphQL with suspense right now! 🙃 🦄 Demo: codesandbox.io/s/urql-client… 🥫 Repo: github.com/FormidableLabs/ur… ⚠️ Use at your own risk
1
13
85
Fredrik Höglund retweeted
🔥 Promise.allSettled advanced to stage 4, and is coming soon to Chrome, Firefox, and Safari! v8.dev/features/promise-comb…
14
270
1,003
Very well written post explaining the neat things Node 12 launched, there were quite a few. Zero cost async stack traces is one of my favourites, as well as worker threads and of course making progress on JS modules.
A big thank you to @LogRocket for inviting me to write about all the exciting updates that came out when #Node 12 launched. Check out my #blog for all the sweet #JavaScript details, including #es6 module support! #webdevelopment #programming #technology blog.logrocket.com/node-js-1…
1
4
Fredrik Höglund retweeted
Twitterverse! I am looking for a venue in Stockholm to host a @QueerJS meetup at on the day before @nordicjs (Oct 9). Anyone? RTs are welcome, DMs are open. 🏳️‍🌈💻
2
10
11
Lightyear is slowly maturing. It's being tried out with success in larger applications (thanks @albertogasparin!), it now has better infrastructure and I just now released 0.2.2 which contains a fix for a context bug. It's getting there! github.com/Ephem/react-light…
1
7
Fredrik Höglund retweeted
The new Hermes JS engine makes React Native TTI 2x faster. Ship it. hermesengine.dev
7
74
310
Big day today for React Native, impressive startup difference.
Hey @HermesEngine , you are pretty fast !! Here is the video from Marc's talk at #ChainReact2019
Fredrik Höglund retweeted
📣 Modern Script Loading If you're implementing module/nomodule, this might help clarify the trade-offs and options you have available. jasonformat.com/modern-scrip…
7
92
365
Fredrik Höglund retweeted
Next.js 9: ⬩ Built-in Zero-Config TypeScript Support ⬩ File system-Based Dynamic Routing ⬩ Automatic Static Optimization ⬩ API Routes ⬩ Improved DX ⬩ More Production Optimizations ⬩ Build Output Statistics ⬩ Google Chrome Collaboration nextjs.org/blog/next-9
60
686
2,111
Fredrik Höglund retweeted
Replying to @steida
Yes React components are tree-composable state machines where composition itself acts as inputs to those state machines that are composed.
1
3
17
I set up my first CircleCI-config yesterday. I'm pretty proud this commit log doesn't contain any swearing.. 🤬 Actually a nice experience compared to some CI-tools I've used. 😀
Fredrik Höglund retweeted
Most component snapshot tests are really just a worse version of screenshot tests. Test your outputs. Snapshot what gets rendered, not the underlying (volatile!) markup. We use Chromatic by @chromaui, which takes screenshots of our Storybook stories. It's worked wonders for us.
7
25
117
I'm toying with the idea of writing up a conference CFP around suspenseful server rendering. I have some ideas, but what would YOU like to hear about in that area?
1
1
Do you server render and hydrate a large state on the client? These performance results on how to best include that state are super interesting!
Replying to @HenrikJoreteg
I also tried it with the inert script type approach. It was only modestly better than the object literal approach (likely due to DOM overhead). Here's the summary. JSON string is clear winner:
2
By popular demand (@capajj), here is an example of using Apollo to fetch data on the server side with a single asynchronous render pass using react-apollo-hooks and react-lightyear! 💫 github.com/Ephem/react-light…
1
1
7
I figure @d_trojanowski and @peggyrayzis might be interested in this? 👋
1
1