@timneutkens@goldkey@aurorascharff could u please share a link for a pr or a discussion on github if exists related to the new fetching data primitives and/or the apis for controling how much get prerendered.
i've been literally stalking next js PRs for years waiting for something like that to show up๐ฅฒ
@timneutkens does calling refresh() return fresh data for private cached functions or keeps the stale content ?
also for updateTag, how does it know wich function to generate fresh data for if the content is not stored on the server in the first place.
@timneutkens i still don't understand how revalidation work with use cache: private. like if i call refresh() in a server function does it revalidate private cached functions too since they are not stored on the server ? same thing with cacheTag and updateTag how exactly do they run with it.
@jamannnnnn@A7med3bdulBaset even the numbers have different variants if you're gonna write them in arabic instead of digits it can be sometimes feminin and sometimes masculine (3 = ุซูุงุซ = ุซูุงุซุฉ) ๐ฅฒ
@jamannnnnn@A7med3bdulBaset and those numbers aren't even in order which is why you can't categorize them into (few/many). that's why most of use just use those 3 variants (one/two/other).
@sebastienlorber i wonder if @reactjs would adopt this method to be used in server functions with use server directive so that it doesn't change how the function args get sent from the client to the server between data fetching and mutation. it will probably be useful for other things as well ๐ค
@moishinetzer@rickyfm@tannerlinsley@aurorascharff i have used react router and tanstack start and next.js.
i did like the experience it gave with forms before react 19 was released but now i just don't feel it's necessary since form actions got released you can just your fn to a native form action prop and that's it.
@moishinetzer@rickyfm@tannerlinsley@aurorascharff the reason why react router has different mental model bcz it introduced actions way before react had a solution for it in the first place and even today you can use react actions in react router.
https://t.co/0eQF3NXjLA
@rickyfm@moishinetzer@tannerlinsley@aurorascharff i don't think he wants to use transitions with rr. he is looking for a way to handle form submission in tanstack start that gives u similar experience to react router's useFetcher and handles error/pending states, race conditions and invalidation automatically for him
@moishinetzer@tannerlinsley hey @rickyfm maybe we can add a guide for form actions in the https://t.co/uNq27jiH0d to explain that handling form submission in react in 2026 is easy as f ๐
i saw the guide for https://t.co/zajfxZQVcJ but it still uses onSubmit instead of action in the examples
@moishinetzer@tannerlinsley i literally told you to use one single hook useActionState to handle all your use cases for form sumbission ! where exactly is the headache here. the only exception is router invalidation which you need to handle by yourself in tamstack with useRouter.
@moishinetzer@tannerlinsley but at least do me a favor and try writing the code with useActionState first and tell me whether it's an overhead or you're just complaining bcz it doesn't look like rr.
@moishinetzer@tannerlinsley i'm just trying to help you solve your problems i'm not from the tanstack team nor the react team.
if you prefer using rr just use it i don't care really. just use what you are comfortable with.