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

cannot reclaim ElementId(384) in dioxus-core-0.5.1/src/arena.rs:57:32 when redrawing #2343

Open
Niedzwiedzw opened this issue Apr 19, 2024 · 2 comments

Comments

@Niedzwiedzw
Copy link
Contributor

panicked at /home/niedzwiedz/.cargo/registry/src/index.crates.io-6f17d22bba15001f/dioxus-core-0.5.1/src/arena.rs:57:32: cannot reclaim ElementId(384)

again, unable to reproduce in a separate repo despite really trying. I'm porting an app from 0.3.1 to 0.5.0 and it was all working nicely.

@Niedzwiedzw Niedzwiedzw changed the title cannot reclaim ElementId(384) when redrawing cannot reclaim ElementId(384) in 0.5.1/src/arena.rs:57:32: when redrawing Apr 19, 2024
@Niedzwiedzw Niedzwiedzw changed the title cannot reclaim ElementId(384) in 0.5.1/src/arena.rs:57:32: when redrawing cannot reclaim ElementId(384) in dioxus-core-0.5.1/src/arena.rs:57:32 when redrawing Apr 19, 2024
@Niedzwiedzw
Copy link
Contributor Author

Niedzwiedzw commented Apr 19, 2024

after commenting out some code randomly in my project I think it happens with component that accepts both inline T prop and a MappedSignal<U> - so mixing signal and non-signal properties

@Niedzwiedzw
Copy link
Contributor Author

another clue - it happens when a pretty large subtree gets ditched - sidebar with bunch of controls gets destroyed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant