Looking for the old docs? Go here

Hooks

useState

This hook is used to subscribe to specific state on a component instance.

    
    
INFO

Refer to each component page to see what state properties are available.