https://github.com/jantimon
but still - could you please show an example of lost reactivity?
but still - could you please show an example of lost reactivity?
it took me some time to test all cases manually and migrated them to playwright - but it behaves exactly as you described
github.com/jantimon/rea...
I also ran the playwright tests with react-compiler and the results were quite impressive
it took me some time to test all cases manually and migrated them to playwright - but it behaves exactly as you described
github.com/jantimon/rea...
I also ran the playwright tests with react-compiler and the results were quite impressive
Do you know why act might cause problems when testing useTransition?
Maybe I should switch to playwright tests for this repo
Do you know why act might cause problems when testing useTransition?
Maybe I should switch to playwright tests for this repo
github.com/jantimon/rea...
useDeferredValue (without memo -> forces fallback)
github.com/jantimon/rea...
github.com/jantimon/rea...
useDeferredValue (without memo -> forces fallback)
github.com/jantimon/rea...
but in the second example the state is NOT RENDERED and DOES force suspense boundary into its fallback
both the isPending and the count state changed - but only one forces suspense boundary fallbacks
😵💫
but in the second example the state is NOT RENDERED and DOES force suspense boundary into its fallback
both the isPending and the count state changed - but only one forces suspense boundary fallbacks
😵💫
that limits using compile time optimizations e.g. for css-in-js, i18n, …
and the compiler is written in babel which makes it quite slow for large codebases
that limits using compile time optimizations e.g. for css-in-js, i18n, …
and the compiler is written in babel which makes it quite slow for large codebases
it shows that useDeferredValue has no effect at all and causes the Suspense barrier to render its fallback
for me this does not match the documentation which says "useDeferredValue is a React Hook that lets you defer updating a part of the UI"
it shows that useDeferredValue has no effect at all and causes the Suspense barrier to render its fallback
for me this does not match the documentation which says "useDeferredValue is a React Hook that lets you defer updating a part of the UI"
This is a component inside memo and I don't understand why its render function is called 30+ times in this example
stackblitz.com/edit/vitejs-...
Are there any docs which explain this behaviour?
This is a component inside memo and I don't understand why its render function is called 30+ times in this example
stackblitz.com/edit/vitejs-...
Are there any docs which explain this behaviour?
My problem was that I didn't know what I didn't know and where to start when Suspense caused CLS
For example the docs say "non-blocking Transition update" - does that mean there are blocking Transition updates too?
Maybe I was just confused by AI 😄
My problem was that I didn't know what I didn't know and where to start when Suspense caused CLS
For example the docs say "non-blocking Transition update" - does that mean there are blocking Transition updates too?
Maybe I was just confused by AI 😄
After removing the `isPending` part the useTransition test is no longer breaking the Suspense Fallback!
I updated the text and adjusted the tests
After removing the `isPending` part the useTransition test is no longer breaking the Suspense Fallback!
I updated the text and adjusted the tests
it scanned 12.000 tsx files in under 1s and was a lot of fun to build
i can share the code if it helps
it scanned 12.000 tsx files in under 1s and was a lot of fun to build
i can share the code if it helps
Firefox has had an experimental implementation for years. Safari also has one now. And we’re implementing in Edge/Chrome.
It’s a matter of agreeing on the spec now. Once done, it won’t take long for the feature to ship.
Firefox has had an experimental implementation for years. Safari also has one now. And we’re implementing in Edge/Chrome.
It’s a matter of agreeing on the spec now. Once done, it won’t take long for the feature to ship.
Currently the only existing CSS solution is CSS columns and that one comes with really big drawbacks like wrong tab order and limited control over the order in responsive designs
grid-template-rows: masonry
would solve both problems
Currently the only existing CSS solution is CSS columns and that one comes with really big drawbacks like wrong tab order and limited control over the order in responsive designs
grid-template-rows: masonry
would solve both problems
we would love to use it but it feels like an abandoned feature
do you think it might become stable by 2025 or 2026?
we would love to use it but it feels like an abandoned feature
do you think it might become stable by 2025 or 2026?
It has a dedicated section called:
"Ignore Lighthouse and PageSpeed Insights Scores"
csswizardry.com/2023/07/core...
It has a dedicated section called:
"Ignore Lighthouse and PageSpeed Insights Scores"
csswizardry.com/2023/07/core...