Skip to main content

Documentation Index

Fetch the complete documentation index at: https://orderly.network/docs/llms.txt

Use this file to discover all available pages before exploring further.

Utility hook that lets you emit events in one Component and receive them elsewhere.

Example

const eventEmitter = useEventEmitter();
const [state, setState] = useState();

useEffect(() => {
  eventEmitter.emit("state:update", state);
}, [state]);