Home > @findkit/ui > PreactFunctions

PreactFunctions interface

Small subset of commonly used Preact functions

Signature:

export interface PreactFunctions 

Methods

Method Description
createContext(this, defaultValue)
useCallback(this, callback, deps)
useContext(this, context)
useEffect(this, effect, deps)
useMemo(this, factory, deps)
useRef(this, initialValue)
useState(this, initialState)