React observing
set
set
Overview
Set a new value to a observable object.
Examples
const counter = observe(0)...set(counter, 1)set(counter, oldCounter => oldCounter + 1)
Set a new value to a observable object.
const counter = observe(0)...set(counter, 1)set(counter, oldCounter => oldCounter + 1)