Gabriel

Results 5 issues of Gabriel

## What changed / motivation ? Removed redundant 'as const' assertions from constant declarations.

It is recommended by the React Docs to avoid unnecessarily changing the state within a useEffect. As React Docs says: "Storing information from previous renders like this can be hard...

When the component using this hook is mounted below the current cursor position, the returned state is false when it should be true. On the hook's page, there is a...

It is recommended by the React Docs to avoid unnecessarily changing the state within a useEffect.

It is recommended by React Docs to avoid changing the state in a useEffect. In this case, it results in unnecessarily using of two hooks (useEffect and useState).