Skip to content
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

Hotreloading doesn't hotreload let-bound rsx fragments #2076

Closed
3 tasks
jkelleyrtp opened this issue Mar 13, 2024 · 0 comments · Fixed by #2055
Closed
3 tasks

Hotreloading doesn't hotreload let-bound rsx fragments #2076

jkelleyrtp opened this issue Mar 13, 2024 · 0 comments · Fixed by #2055
Assignees
Labels
hot-reload Related to the hot reload crate

Comments

@jkelleyrtp
Copy link
Member

Problem

The head_ block won't be hotreloaded:

use dioxus::prelude::*;

pub fn CoolChild() -> Element {
    let head_ = rsx! {
        div {
            div { "asasddasdasd" }
            div { "asasdd1asaassdd23asasddasdasd" }
        }
    };

    head_
}

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots

If applicable, add screenshots to help explain your problem.

Environment:

  • Dioxus version: [e.g. v0.17, master]
  • Rust version: [e.g. 1.43.0, nightly]
  • OS info: [e.g. MacOS]
  • App platform: [e.g. web, desktop]

Questionnaire

  • I'm interested in fixing this myself but don't know where to start
  • I would like to fix and I have a solution
  • I don't have time to fix this right now, but maybe later
@jkelleyrtp jkelleyrtp added the hot-reload Related to the hot reload crate label Mar 13, 2024
@jkelleyrtp jkelleyrtp self-assigned this Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hot-reload Related to the hot reload crate
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant