# Hooks

Hooks in Modularjs provide a live data-processing layer, enabling components to efficiently render visuals and manage their internal state. Inspired by the React.js hook system, they offer a clean and consistent way to handle logic and updates across the library.<br>

{% content-ref url="/pages/1eXCObmhyMS2UCoL25UI" %}
[useWindow()](/nexo-maker-docs/modular/hooks/usewindow.md)
{% endcontent-ref %}

{% content-ref url="/pages/JXSeTKMIIHhLnsmP8i78" %}
[useGlobalState()](/nexo-maker-docs/modular/hooks/useglobalstate.md)
{% endcontent-ref %}

{% content-ref url="/pages/8YoIPwgHs9FHTEqMQrjO" %}
[useProjectState()](/nexo-maker-docs/modular/hooks/useprojectstate.md)
{% endcontent-ref %}

{% content-ref url="/pages/F0kmpb5ghQKzuvnDY52I" %}
[useState()](/nexo-maker-docs/modular/hooks/usestate.md)
{% endcontent-ref %}

{% content-ref url="/pages/roKX8sv9dFwuzuWopYC6" %}
[useEffect()](/nexo-maker-docs/modular/hooks/useeffect.md)
{% endcontent-ref %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://nexo-maker.gitbook.io/nexo-maker-docs/modular/hooks.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
