-
Notifications
You must be signed in to change notification settings - Fork 0
FAQ & Troubleshooting
Hazer Hazer edited this page Dec 10, 2025
·
1 revision
When you're writing [create_signal(0); N] basically you are creating an array of a single Signal copied across all elements. This will lead to behavior where all elements are the same Signal value and will change simultaneously.
What you need instead is to use core::array::from_fn(|_| create_signal(0)).