Vikash
Vikash
Explore posts from servers
HHono
Created by Vikash on 3/26/2025 in #help
How to build for React + Vite + Cloudflare worker?
15 replies
HHono
Created by Vikash on 3/26/2025 in #help
How to build for React + Vite + Cloudflare worker?
That's not importing my main script <script type="module" src="/src/react-app/main.tsx"></script> can you try running it from my github repo when you have some time?
15 replies
HHono
Created by Vikash on 3/26/2025 in #help
How to build for React + Vite + Cloudflare worker?
So the only solution is initial html render should be done by hono
15 replies
HHono
Created by Vikash on 3/26/2025 in #help
How to build for React + Vite + Cloudflare worker?
I don't think the transformhtml will work, because I need the hono context to get the meta data from KV store to append as per pathname. For example, I have 1000 products page, each product metadata will be stored in D1/KV on cloudflare.
15 replies
HHono
Created by Vikash on 3/26/2025 in #help
How to build for React + Vite + Cloudflare worker?
I was checking your example and it has lots of imports from hono/jsx, I need to use my application as is because it's a migration from Next JS and lots of shadcn components. So, anyway to just serve the index.html as it's a SPA, so everything else should work as is in given Cloudflare example
15 replies
HHono
Created by Vikash on 3/26/2025 in #help
How to build for React + Vite + Cloudflare worker?
this is working fine as string, I can see the HTML in response. So this line is not an issue!
15 replies
HHono
Created by Vikash on 3/26/2025 in #help
How to build for React + Vite + Cloudflare worker?
15 replies
HHono
Created by Vikash on 3/26/2025 in #help
How to build for React + Vite + Cloudflare worker?
No description
15 replies
CDCloudflare Developers
Created by Vikash on 2/24/2025 in #pages-help
Caching rsc routes in Next.js
5 replies
CDCloudflare Developers
Created by Vikash on 2/24/2025 in #pages-help
Caching rsc routes in Next.js
kind of browser refresh
5 replies