Grantsu (Grantsu)
Grantsu (Grantsu)•7mo ago

Deploying Deno as a frontend app

Hey all I'm currently working on a little personal project with a React Vite frontend running on Deno and was wondering if anyone had any recommendations on a service to use for deployment/hosting? I have tried and successfully been able to use Deno Deploy for the front/backend but I found that the frontend part of app doesn't support browser routing which is a necessary requirement for my project. I wanted to try using another service like Vercel but it seems like it doesn't support the Deno runtime for non-API applications at the moment. It seems like so far it might just be easier to go back to using npm/yarn for my frontend, while only using Deno for my backend web server, but I wanted to see if anyone out there had any suggestions. Thanks!
4 Replies
duesabati
duesabati•7mo ago
What do you mean by this?
frontend part of app doesn't support browser routing
It's likely there's some missing part in your front-end distribution
Grantsu (Grantsu)
Grantsu (Grantsu)OP•7mo ago
Oh I meant that the app frontend when deployed with Deno Deploy doesn't work with browser routing and when I looked into it, it seemed like Deno Deploy doesn't really support this yet but I could totally be wrong. It works locally but what do you mean by something missing in part of the front-end distro?
Doctor šŸ¤–
Doctor šŸ¤–ā€¢7mo ago
What do you mean by browser routing?
Grantsu (Grantsu)
Grantsu (Grantsu)OP•7mo ago
I’m using react router dom and my frontend app uses their browser router component as opposed to like a hash router or something else

Did you find this page helpful?