Repository files navigation
no need for cache busting as all use cases in this app can benefit from being cached.
even favouring a compound don't need it as it's implemented in client side using local-storage. (for lack of user id)
used only for routing, loading & error.
I used them to apply the same layout to a group of pages
a fake API (so no validation is applied).
uses HTTP POST, so they're never cached. It means they are bad for queries, but good for mutations.
are great, if the backend is in the same Next.js app.
I didn't use server actions, to simulate calling an external backend.
actual pages code is here.
functions used to fetch data from backend(route-handlers in this case).
layouts: contains the high level structure of pages.
shared: collection of highly reusable components to be used across pages.
files(fake db) containing data returned by the API.
About
Resources
Stars
Watchers
Forks
You can’t perform that action at this time.