-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
using @starbeam/react Component breaks vite css module auto reload #118
Comments
hello! does the latest |
cannot install
edit: manually installed @domtree/flavors and then install worked |
now failing because of import.meta.url vitejs/vite#14169 |
There will be. We currently don't have a production build were happy with, but that'll happen very soon. What's published right now is development stuff. |
what's your build environment like? if you using esm.sh, like here: https://jsbin.com/kivuqal/1/edit?html,output it can compile away the import.meta stuff. otherwise, you may need something like https://iendeavor.github.io/import-meta-env/guide/getting-started/introduction.html |
well, one step forward. |
yeah, there's been a streamlining of concepts since the docs were written -- here is a current example: https://github.com/starbeamjs/starbeam/blob/main/demos/react/src/components/formatter/DateFormatter-v1.tsx#L15 |
in a react vite project
if I have a
auto reload of css will not work anymore...
however, if I use useReactive it works
The text was updated successfully, but these errors were encountered: