Closed jarvisaoieong closed 1 year ago
export default function Test() { const count = useSignal(0) const double = useComputed(() => count.value * 2) const text = useSignal('') return ( <div> <button onClick={() => (count.value += 1)}> Value: {count.value}, value x 2 = {double} </button> <input value={text} onChange={(e) => (text.value = e.target.value)} /> </div> ) }
The code above work fine in version 1.1.1 But after version 1.2.0, it failed.
The code above work fine in version 1.1.1 But after version 1.2.0, it failed.