dario-piotrowicz / vite-environment-6.0.0-alpha-experimentations

1 stars 1 forks source link

Add Actions to Remix example #17

Closed dario-piotrowicz closed 3 months ago

dario-piotrowicz commented 3 months ago

I think we should add some actions (combined with respective loaders) in the Remix application (as this would be a fundamental thing that we need to make sure is properly handled).

Such actions/loaders could/should make use of the hardcoded KV binding so to make sure that those are fully run and well integrated with workerd.

dario-piotrowicz commented 3 months ago

After having touched this in a while I forgot but we actually already include actions and loaders in the Remix example! 🤦

https://github.com/dario-piotrowicz/vite-environment-6.0.0-alpha-experimentations/blob/51ee0b64e6cd4eaaa2cc412e3b302c0f7cb17870/examples/remix-app-workerd/app/routes/_index.tsx#L29-L51