Comments (5)
Hello, I recommend upgrading to the latest stable version of Dioxus, version 0.5.1
. I've personally been using the git version, as fixes are constantly being pushed.
My guess is that the change that triggers the reload is actually a full rebuild, and not an instant template update.
I also recommend keeping dioxus-cli
up to date by occasionally running cargo install dioxus-cli
.
It may not hurt to try a dx clean
as well to see if that fixes things.
from dioxus.
@luveti thanks, I just uploaded to 0.5.4, but the issue remains: any change that is not textual is taken into account for the recompiling, but textual changes are not caught. :-(
from dioxus.
The issue here is you're modifying code in a macro which we can't figure out if should be hotreloaded or not.
This PR #2258 is adding an entirely new, more powerful form of hotreloading, but still wouldn't work with the contents of macros. We do have longer term plans to ship actual, legitimate horeloading of Rust code but that's not available in any form, yet.
With #2258 you could use an I18 { src: "something.2" }
component which would receive hotreloading treatment via its props, but nothing yet is plumbed for i18n in the way you're trying to use today.
from dioxus.
Nice! I will hold my breath and keep enjoying Dioxus as it is right now
from dioxus.
Nice! I will hold my breath and keep enjoying Dioxus as it is right now
from dioxus.
Related Issues (20)
- `_TAILWIND_URL` returns `Failed to add asset: No such file or directory (os error 2)`
- CLI SCSS Support for Manganis
- Tracking: Development Iteration Time
- Manganis CSS Hot Reloading
- Request for `useLayoutEffect` for the web renderer HOT 1
- Support event handlers in element extensions
- Resource does not restart from async event handler HOT 1
- Request example with various controls HOT 1
- Can't match Resource.value() as shown in documentation. HOT 2
- bug: `cargo clippy` fails to run in Dioxus 0.5.1 apparently
- Opinion: `Signal` should not be callable HOT 2
- I can't run the code generated by `dx new` HOT 3
- i18n runs multiple times HOT 1
- Unable to do 'dx serve' on nixos if mio is a dependency HOT 2
- Implement multiple optional attributes for components
- use_effect with value HOT 3
- no `use_muda_event_handler` in the root HOT 1
- Switch to a generational map for Tasks
- Support prop extensions for callbacks
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 dioxus.