I thought I was crazy after hours of debugging instead i found an ugly bug in @reactjs. useEffectEvent is broken when used inside a memo compontent. More detail here: github.com/facebook/react…
@leeerob@nextjs Before simplifying should at least fixed.
This 2 issues in particolar make a pain for me and my team migration to app router.
First static rendering is basically broken on prod: github.com/vercel/next.js…
Second fetch cache dedupling in build is also broken github.com/vercel/next.js…
Here's what we're working on next for @nextjs:
1. Simplifying caching
2. Continuing to invest in performance (now onto builds)
3. Better observability (both local and prod)
Hacking around with new npm mode in @deno_land.
Some stuff is missing but is very great, in the future it will no longer be necessary compile server code for ssr React apps.
I built a demo using @vite_js with HMR, SSR and @reactjs stream, looking good 😃
github.com/gffuma/deno-re…
The new @GitHub@mastodon.social repo viewer creates a new Worker every time it re-renders. Caused by this line:
const workerManagerRef = useRef(
new DebouncedWorkerManager(
new Worker(findInFileWorkerPath)
)
)
(use-in-file-search-results.ts L26)
Sometimes I think of all the meeting where I don't want to go
Then I think of all the features I don't want to do
And when I think of all the PM I don't want to meet
I close my eyes and open Vim
JS lazyweb: when streaming an HTTP response, is there a way to continually flush data, so that digits stream in individually? feel like i'm missing something here stackblitz.com/edit/node-rsna…
@dan_abramov This is the only solution i found but i don't known if is the correct solution or if there is a better approach to the problem.
codesandbox.io/s/ecstatic-voi…
@dan_abramov Thanks @dan_abramov very interesting and useful.
I am left with only one doubt, when starts using transition you need to split state in UI and "Data" how to synchronize them?
Take this example:
codesandbox.io/s/nifty-field-…
Thanks a lot Dan 🙏
@sebmarkbage I'm very curious, how SEO stuff can work with Suspense and new streaming architecture.
Something like that will be possible in the future?
A City in a Bottle 🌆
<canvas style=width:99% id=c onclick=setInterval('for(c.width=w=99,++t,i=6e3;i--;c.getContext`2d`.fillRect(i%w,i/w|0,1-d*Z/w+s,1))for(a=i%w/50-1,s=b=1-i/4e3,X=t,Y=Z=d=1;++Z<w&(Y<6-(32<Z&27<X%w&&X/9^Z/8)*8%46||d|(s=(X&Y&Z)%3/Z,a=b=1,d=Z/w));Y-=b)X+=a',t=9)>
Your favorite React Auth library now support strict effects with reusable state 🎉🎉🎉
@inmagiklabs@reactjs#250" target="_blank" rel="nofollow noopener">github.com/inmagik/use-ea…