3 ms·
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
by SwiftyBug 3y ago
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.