Skip to main content

useFieldState

useFieldState is a react hooks to subscribe field state by name path. if field state is changed, the component using useFieldState will rerender.

You can import it from fomir-react:

import { useFieldState } from 'fomir-react'

Example usage

Loading...
LIVE DEMO