I have a server component that gets data from a database and passes it to the client component. My client component uses this prop as its initial state. Therefore, I could interact with the data by updating the state.
But the problem occurs when I update the state, move to another page, and return to the updated page. The state is not updated.