17 Commits

Author SHA1 Message Date
f60847f9aa For some reason now it works properly.
NOTE: this solution is unstable and can change in the future.
2025-04-02 17:04:55 +02:00
57c7440e65 Invalidation when creating new is correct, but the invalidation when editing a contact doesn't work properly. 2025-04-02 16:51:33 +02:00
94346dd242 New Data handler with lowdb 2025-04-02 12:06:12 +02:00
a54d7b57ee Some notes on Server Components in edit/page.tsx 2025-04-01 22:30:10 +02:00
b73c9311f5 Complete "Updating Contacts with FormData" 2025-04-01 17:58:39 +02:00
434b7c8dc8 Remove caching. That caching is breaking the program in case of change.
Note: "use server" is not good because force the fetch to be action/static so the client doesn't call them again explicitly during render (I think?)
2025-04-01 17:58:11 +02:00
800c231580 Loading is not easily possible here. I will see later. 2025-04-01 17:21:15 +02:00
aa81948f29 Edit Contact but without loading? 2025-04-01 17:14:43 +02:00
a4536d20b4 Complete "Creating Contacts". 2025-04-01 16:40:35 +02:00
75337be90c Complete "URL Params in Loaders" and "Throwing Responses". 2025-04-01 14:10:20 +02:00
298d25a579 Complete "Layout Routes". 2025-04-01 12:17:08 +02:00
276bea81b0 Remove unused "Hydrate Fallback".
Note: As already said, this loading appear even when the app/layout.tsx is loading. This is not the behaviour I want. In fact the behaviour I wanted is impossible to be needed with Next.js and his "SSR first" approach.
2025-04-01 11:42:49 +02:00
595520296c Complete "Hydrate Fallback".
Note: I checked in React DevTool that the Suspend and the fallback is present, but the skeleton of the page is already rendered into the server so that Suspend is impossible to trigger!
You can see it as it is during long load, o I will probably remove it in the next commit.
2025-04-01 11:41:33 +02:00
4330157491 Complete "Loading Data" 2025-04-01 11:32:54 +02:00
90c0dd6812 Complete "Client Side Routing" 2025-04-01 11:13:27 +02:00
d2ec794846 Parity with starting state of RRv7 Tutorial Address Book 2025-04-01 10:57:36 +02:00
cf2cd294ee Initial commit from Create Next App 2025-04-01 09:38:24 +02:00