Oleg
blindbeat.bsky.social
Oleg
@blindbeat.bsky.social
@tkdodo.eu As you've contributed to both libraries, I am unable to resist the urge to tag you.
October 5, 2025 at 8:48 PM
I was under impression that it isn't a helpful addition as search params safety will be mostly the same, but discovered that ther's a nuqs adapter for Tanstack Router, and now I'm not so sure anymore
October 5, 2025 at 8:45 PM
I believe the result of the second of the init calculations would not be used anywhere, but if the init is not pure, it would be a nightmare to debug.
April 26, 2025 at 9:41 AM
init would run twice in a StrictMode with useState. So ref may be at least a performance optimisation for development.

Probably can also lead to weird bugs and inconsistency between development and production, because of double initialisation?
April 26, 2025 at 9:35 AM
Thanks for removing callbacks though. Saved countless hours of reading through effects spaghetti created by people treating the library like a fetch() wrapper
April 2, 2025 at 4:07 PM