Pitel
SnackContext.Provider { attrs.value.showError = { errorSnack = true}
Uncaught TypeError: Cannot set properties of undefined (setting 'showError')
attrs.value = jso { showError = { errorSnack = true } }
turansky
val snack = useMemo { jso { showError = { errorSnack = true } } } SnackContext.Provider(snack) { // ... }
Snack
A modern programming language that makes developers happier.