diff --git a/content/posts/deriving-client-state-from-server-state/index.mdx b/content/posts/deriving-client-state-from-server-state/index.mdx index ff0447f4a..f6b7d4a31 100644 --- a/content/posts/deriving-client-state-from-server-state/index.mdx +++ b/content/posts/deriving-client-state-from-server-state/index.mdx @@ -53,7 +53,7 @@ const useSelectedUser = () => { } ``` -Of course, whenever I see a `useEffect`, especially one that calls `setSate` inside it, I want to find a better solution. In my experience, there is almost always one, and it's usually worth pursuing it. So let's take a step back and try to find out what we want to achieve first. +Of course, whenever I see a `useEffect`, especially one that calls `setState` inside it, I want to find a better solution. In my experience, there is almost always one, and it's usually worth pursuing it. So let's take a step back and try to find out what we want to achieve first. ## Keeping State in Sync