useActionData to reveal something before loader (Remix)
The order of operations are: (1) User submits form, (2) Action queries database, (3) Display the resulting data, (4) Reload page
Using action data to reveal something before loader (Remix)
Can I update the page/DOM from the ActionFunction
, before the LoaderFunction
starts? The reason is that I want to have a one-time component flash onto the screen, but be triggered by the user’s Action, not by the Loader.
Go Back Functionality in Remix
What’s the best recommended way to check if you can go back then go back to its previous route else just go back to a default route.
I’m using Remix.
Define Routing Outside of the Project in Remix React
I’m using a monorepo and I wanted to move the routes
outside of the project.
Would it be possible? How would you do that? I’m using Remix and Vite and remix-flat-routes.
Do you adjust it in the vite.config.ts
?
Nested Routing in Remix using Remix Flat Folders
I have these routes to show:
Layout Not Showing using Remix Flat Folders
So when my app starts, it should navigate directly to /$product-id
,
where it will show the dashboard.