Re:Waku: The Minimalist React Framework with Server Components
by SwiftyBug on Sunday August 27, 2023 @02:00PM
(#37285101)
I'm building my first project with Remix. I was very surprised when I found out that I can have an API route just by adding a `export function action() { return json({ message: "it just works!" }) }` in a regular route file. Things are so simple with Remix.
But this is what I love about Remix. You write your server and client code in the same place, but the server code is just an api, so can be reused directly.