Giter VIP home page Giter VIP logo

Comments (5)

luveti avatar luveti commented on June 26, 2024

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.

ThomasCartier avatar ThomasCartier commented on June 26, 2024

@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.

jkelleyrtp avatar jkelleyrtp commented on June 26, 2024

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.

ThomasCartier avatar ThomasCartier commented on June 26, 2024

Nice! I will hold my breath and keep enjoying Dioxus as it is right now

from dioxus.

ThomasCartier avatar ThomasCartier commented on June 26, 2024

Nice! I will hold my breath and keep enjoying Dioxus as it is right now

from dioxus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.