You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 10, 2024. It is now read-only.
I'm using Remix with Preact instead of React (see: Lo-Fi Stack) and, while remix-vite appears to correctly render my Preact Remix app, it does not work with HMR or even watch mode (I need to manually refresh my page to see the changes I made).
Why
For anyone using Preact in their Remix app instead of React, this would be valuable.
Alternatives
Rather than hard coding support for Preact alongside React, remix-vite could accept alternative Vite config files (vite.config.ts). remix-vite could also publish standalone Vite plugins so that developers could use Vite with remix-vite's plugins and any other plugins or setup they wanted to add without needing a custom CLI.
The text was updated successfully, but these errors were encountered:
Description
I'm using Remix with Preact instead of React (see: Lo-Fi Stack) and, while
remix-vite
appears to correctly render my Preact Remix app, it does not work with HMR or even watch mode (I need to manually refresh my page to see the changes I made).Why
For anyone using Preact in their Remix app instead of React, this would be valuable.
Alternatives
Rather than hard coding support for Preact alongside React,
remix-vite
could accept alternative Vite config files (vite.config.ts
).remix-vite
could also publish standalone Vite plugins so that developers could use Vite withremix-vite
's plugins and any other plugins or setup they wanted to add without needing a custom CLI.The text was updated successfully, but these errors were encountered: