๐ Remix: Loader + Action + UI Update (Flow)
1. Loader
Runs on GET requests.
Provides data to the component through useLoaderData().
2. Action
Runs on POST/PUT/DELETE/PATCH.
Handles mutations (form submissions, API calls).
Returns response (redirect, data, or error).
๐ Internal Flow ...
internship-learnings.hashnode.dev1 min read