useEffect, useContext, and usSyncExternalStore are no longer about "local only".
And you never use only local state. You advocate for Redux in a different comment which is literally a global state where you are going to have something suddenly change somewhere from the point of view of a component.