Comments (2)
Right now we do swap templates completely depending on the unique ID of every macro call. I believe there's a comment in the codebase to that effect too, though in this particular instance tossing a few checks in wouldn't terribly large overhead so we could support this usecase.
You could, if you wanted, drive the props from the conditional and pass it into a single rsx! call which won't swap templates between renders.
from dioxus.
We don't guarantee this behavior, but I think this should be handled by light_diff_template. That code doesn't seem to be working correctly
from dioxus.
Related Issues (20)
- dx new creates a project with 'unused import: `info` ' warning from clippy HOT 1
- Remove Dioxus CLI NASM dependency HOT 1
- fullstack [root@cpzljc dzsyhp]# cargo run --features server Listening on 127.0.0.1:8080 how to modidy Listening on 188.188.1.26:8081
- CLI: `--release` flag is incorrect in `cargo install`
- Warn when signals are used in a higher scope then they are created in
- Change Default Fullstack IP complie error: ERROR dioxus_cli_config: A library is trying to access the crate's configuration, but the dioxus CLI was not used to build the application. HOT 3
- Merging conditional classes broken by #2258 HOT 2
- Per platform dist directory HOT 1
- Add commit hash to `dx -V` HOT 2
- After installing all dependencies on linux specified for Tauri on linux, fails in WSL but works for Windows HOT 3
- Merge liveview into fullstack
- Not able to run the output of a build/bundle for fullstack application HOT 2
- Seperate Client and Server Fails to Build HOT 1
- Switch from tao to winit
- Native rust hotreloading via binary patching
- Support `#[layout]` without trailing `#[route]` HOT 2
- Dioxus desktop - Cannot Access to files / images on windows HOT 1
- Increase CSP level to match tauri
- Clean up the prelude HOT 1
- dx fmt panics if faulty orphan file exists
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.