useState
Returns a stateful value, and a function to update it.
§
Returns a stateful value, and a function to update it.
§Parameters
§Return Type
§
[S, StateUpdater<S>]
[src]§
useState<S = undefined>(): [S | undefined, StateUpdater<S | undefined>]
[src]§Return Type
§
[S | undefined, StateUpdater<S | undefined>]
[src]