@w5s/applicationFunctionsuseStateuseState CallableuseState<T>(meta: Meta, key: StateKey, initial: T, store?: any): Ref<T>Return a new Ref containing the state for the given meta.name and key.@exampleconst app = { name: 'my-app' };const counterRef = useState(app, 'counter', 1);counterRef.current += 1;Type parametersT
Return a new
Refcontaining the state for the givenmeta.nameandkey.