Remix Single: Concurrent Mutations w/ useFetcher

preview_player
Показать описание
While Remix and browsers model mutations as form navigations, `useFetcher` allows you to get the same programming model without causing a navigation. This allows apps to add pending and optimistic UI to multiple elements at the same time. Concurrent Mutations!

Рекомендации по теме
Комментарии
Автор

Please never stop making these. They are SO incredibly helpful.

josephgreve
Автор

Im happy to be part of this, specially with amazing people like you!
Remix is so cool! ❤

DEV_XO
Автор

Ryan, you are amazing at explaining things. Never stop!

wble
Автор

Hi,
I just started using Remix after working with 'vanilla' React for 3 years now, and I like it very much, more than what I've been able to test with NextJS (which is also good too)
Please keep working on this tool it's super good, full committing on it and pushing it at the office 💪

TEMISsX
Автор

Thanks for this video -- it does a great job of showing how Remix addresses UX details that are a struggle or pita to get right in other frameworks (at least in my experience).

RolandAyala
Автор

interesting. you mentioned remix fetches all the routes after the mutation to keep them in sync. is there s way to tell remix to not fetch some routes because a) one of the routes might be expensive and/or b) I know for sure there is no dependency with this mutation so I don't want that call to be made. or did I just completely misunderstand this concept?

sumantturlapati
Автор

3:48 hey how did you automatically inserted parenthesis around the jsx element?

nickv.v
Автор

'useTransition' is now called 'useNavigation' to not conflict with React 18th 'useTransition'

michaelneumair
Автор

i wish this was done as a written resource

additionaddict
Автор

Nice videos! Is the code hosted somewhere online? Next step would be to handle multiple submit requests for adding a person. Looks similar to the delete thing, but not sure how the optimistic ui will work there.

anythingforweb
Автор

Is there a pattern for infinite scrolling in Remix?

rodygl
Автор

I'm currently designing architecture for an enterprise application that has a dashboard, heavy form loads and user input/data. My question is can Remix handle an application of this nature with multiple users parsing the server at 8nce? I'm trying decide between Remix and React. I l8ve the feature this framework offer but just not sure if the resources to scale would be greater with Remix? Also is there ability for client side rendering in Remix. Can I build reusable components that are rendered on the client?

shaunpx
Автор

Is the code for this available somewhere?

eleah
Автор

I assume this is handled - but how does useFetcher handle the case where JS hasn’t loaded? Just a regular navigation form?

john_ryan_nyc
Автор

Is there a way remix can keep in sync with the database in the loader function, like in a social media application where posts keeps getting added every second by different users?

fabischkamau
visit shbcf.ru