Comments (6)
All right, I'll publish 0.9.0 tonight π
from prefresh.
I just tested it in vite 0.16.2 and it seems to work, I'll explore their changelog to see what changed.
from prefresh.
Thanks. I can confirm it works in vite 0.16.2 for me as well.
from prefresh.
What version are you using for @prefresh/vite
?
from prefresh.
I was using vite 0.20.8 with @prefresh/vite 0.8.3 when I encountered the issue.
from prefresh.
0.9.1 has been published and should fix the default exports and normal non-root one! Thanks for reporting this issue, also PR'ed the upgrade to the template.
from prefresh.
Related Issues (20)
- Signal stops working after hot-reload
- @prefresh/vite (@prefresh/core) memory leak bug - "this.forceUpdate on an unmounted component" HOT 1
- Context value populated incorrectly when created using a helper function. HOT 2
- Implement SWC plugin HOT 3
- Update dependencies HOT 1
- Migrate to pnpm HOT 1
- Migrate to vitest HOT 1
- Consider deprecations
- useEffect cleanup triggering multiple times after updates? HOT 2
- HMR confuses global signals HOT 3
- Hot reloading doesn't work, the application is always fully reloading.
- Look into test flakiness
- Infinite re-rendering when using `webpack-hot-middleware` HOT 1
- `@prefresh/vite` types canβt be resolved when project uses modern TypeScript resolution modes
- No "exports" main defined in @prefresh/vite/package.json HOT 1
- webpack multicompile. hot-reload doesn't work
- Prefresh Webpack shouldn't assume the user is using NextJS HOT 1
- Memory leak when passing a signal content to a component props
- Package subpath './src/index.js' is not defined by "exports" in @prefresh\webpack\package.json
- prefresh-vite is not preserving the state of a component HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from prefresh.