use-channel
create connection between components to share internal states
useContext
Modulo
import { useChannel } from "@atomico/hooks/use-channel";Syntax
const channel = "MyChannel";
const [parentValue, setChildValue] = useChannel(channel);Example
Last updated
Was this helpful?
