createDeepSignal()
andcreateDeepMemo()
for SolidJS.
npm install create-deep
dequal
is used for the deep equality checks.
function Component() {
const [value, setValue] = createDeepSignal([1, 2, 3])
}
function Component() {
const value = createDeepMemo(() => {
return items().filter(item => item.size > 0)
})
}