Skip to content
This repository has been archived by the owner on Feb 10, 2024. It is now read-only.

Support for Preact #18

Open
markmals opened this issue Nov 26, 2022 · 0 comments
Open

Support for Preact #18

markmals opened this issue Nov 26, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@markmals
Copy link

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 with remix-vite's plugins and any other plugins or setup they wanted to add without needing a custom CLI.

@markmals markmals added the enhancement New feature or request label Nov 26, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant