A nerd in books, tea, games and software.
I'm a solutions engineer lead, GitHub Star, Director of WomenDevsSG, and co founder of ragTech. I work at the intersection of tech, systems, and leadership, and this blog is where I share my journey through all three. Expect honest reflections, real experiences, and thoughts that are still forming rather than polished career advice.
Markdown supported · ⌘↵ to post
Thank you for the great article with a good example, really helped me understand the hook. However I think there is a small error in your code snippet: getSnapshot function should return data, but in your code here it does not.
Would love to know why does useEffect might cause "might cause over-returning Hooks and unwanted re-rendering of components" whereas useSyncExternalStore does not. I couldn't find this information in the doc links you listed
Your post gave me a lot of useful information. This is a topic that interests me as well, so I hope you will read the connections article.
Great article! 👏 The useSyncExternalStore Hook seems like a powerful tool for integrating non-React state management in our apps.
Victoria Lo
Victoria Lo
Praveen V
devtohash.hashnode.dev/javascript-vs-typescript-c…