TypeScript 5.4 Beta is available to try! This release has lots of type narrowing improvements, the 'NoInfer' type helper, groupBy, better options for bundlers, and more!
devblogs.microsoft.com/typescript/annβ¦
StyleX v0.5 is out π
- New stylex.attrs function
- New sort-keys rule for the Eslint plugin
- New aliases option for the StyleX Babel plugin
- New Esbuild plugin
Migrating to Next.js App Router: the good, bad, and ugly
Last year we rebuilt the @Flightcontrolhq dashboard with App Router π
In this post, I share our perspective on it after using it for a significant production app
flightcontrol.dev/blog/nextjs-apβ¦
Turn any URL into a video with a terminal only - as requested by @t3dotgg
sudo npm i -g puppeteer-screenshot-cli @remotion/[email protected]
puppeteer-screenshot --width 1920 --fullPage 'https://ping.β gg' > shot.jpg
export URL=$(curl --upload-file ./shot.jpg transfer.sh/shot.jpg)
sneak-peek:π@partykit/react, the one framework to rule them all
- Real-time React Server Components!
- Keep business/rendering logic on the server, send UI over the wire in real-time
- Zero API setup
- one party per user, or per shared session, or even the whole world (scales
React Server Components (RSCs) can be transformative for DX and UX - but grasping it can be tricky.
Join @GregBrimbleβs virtual workshop on Jan. 30 to learn how they work, where to use them and how to take advantage of RSC's new architecture
cfl.re/3UcK28u
π£The #ReactNative#performance dashboard is now publicly available:
app.flashlight.dev/projects/reactβ¦
π It runs Flashlight measures against all RN versions against a sample scenario.
π€Should be helpful to detect regressions
We can see some interesting stuff already, details β¬οΈ
By the end of 2024, youβll likely never need these APIs again:
β’ useMemo, useCallback, memo β React Compiler
β’ forwardRef β ref is a prop
β’ React.lazy β RSC, promise-as-child
β’ useContext β use(Context)
β’ throw promise β use(promise)
β’ <Context.Provider> β <Context>