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)
- Ability to add attributes to the Style tag in head
- Can not install [email protected] on WSL HOT 3
- Component with `key` attribute does not pass a `ReadOnlySIgnal<bool>` attribute properly HOT 2
- closure invoked recursively or after being dropped HOT 6
- Overtly verbose "build progress" ouput when running `dx build` HOT 1
- head::Link creates link twice with SSR HOT 7
- Failing to build dioxus cli HOT 4
- Update TAO to the latest version
- The use of dioxus_desktop 0.5.0 bug HOT 7
- Version 0.6, when using TAB to switch web elements, it may be blocked by a control with the class name WRY_WEBVIEW HOT 3
- Raw tokens (r#) as element names cause client-side panic on debug builds HOT 2
- The <pre> elements introduced by otherwise empty fragments are not hidden when initally rendered using fullstack HOT 1
- Template does not work HOT 5
- Why do you use tokio::time::sleep in docs if it is not supported by wasm? HOT 1
- LaunchBuilder::custom is not usable due to implicit Sized bound
- rsx! macro ignores img width and height HOT 1
- rsx! macro do not know `aspect-ratio`/`aspect_ratio`
- Copied the todomvc example code but not worked HOT 1
- Failed to install the latest development dioxus-cli through git. HOT 4
- Allow SSG to generate content with resources pending HOT 3
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.