Forge provides a set of prebuilt custom react hooks that assists common tasks like managing state, validating forms, and interacting with components. Essentially, these hooks are building blocks for creating efficient and interactive user interfaces.
Custom hooks and other React hooks can be used but may not behave the same in UI Kit's lifecycle.
Hooks that require direct DOM access, such as useRef
for DOM elements, useLayoutEffect
, useImperativeHandle
and useInsertionEffect
,
will have limited functionality since UI Kit does not have access to the underlying DOM nodes.
Rate this page: