You can manage the state in React JS by using the React's state management features or integrating with a state management library: React's state management features: Use the useState and useEffect hooks to manage the local state within a page. State management libraries: Integrate with a state management library like: Avoid using a global store. Since App Router can handle multiple requests simultaneously, using a global store could lead to data being handled from two different requests simultaneously.