dioxus
dioxus copied to clipboard
Fix escaping ascii codes on serializing reload messages
Fixes 1586
I still get the same error when I change the rsx like this:
div {
"hello world"
}
to
div {
"hello\tworld"
}
The error
thread '<unnamed>' panicked at /Users/evanalmloff/Desktop/Github/dioxus/packages/hot-reload/src/lib.rs:38:83:
called `Result::unwrap()` on an `Err` value: Error("invalid type: string \"Hello\\tWorld!\", expected a borrowed string", line: 1, column: 167)
We might need to manually modify the formatted json if serde-json-fmt
isn't working
Moved this back to draft until the right fixes are applied.