Jasmin
Jasmin
SSolidJS
Created by Jasmin on 8/1/2023 in #support
Nested object signal
Hey! I have trouble getting changes in a nested object to trigger a rerender. My object looks like this:
type Alerts = {
[key: string]: {
name: string
show: boolean
}
}
type Alerts = {
[key: string]: {
name: string
show: boolean
}
}
When changing show from true to false, the dom doesn't rerender :/ I created a simplified example in the playground: https://playground.solidjs.com/anonymous/3f20d81d-25cf-45a7-9931-316bf3be7495 After changing the signal, it doesn't update the dom to reflect the change. What am I missing?
4 replies