---
title: "Simo D. (@simoooo) | Hashnode"
description: "Simo D. (@simoooo) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@simoooo"
---

@simoooo

# Simo D.

@simoooo · Joined October 2023

## Comments

[I tried this method but it caused my page to fall in a infinite loop due to the useEffect hook re-rendering the page every time the result variable changes and that same variable in used to set the state. any solution to this problem?](https://hashnode.com/posts/how-to-use-zustands-persist-middleware-in-nextjs/640f4e685c1c3f8f90cb3705/comment/652b1d7e900df10a39260e2e)

Comment · Article · Oct 14, 2023 · [How to use Zustand's persist middleware in Next.js](https://hashnode.com/posts/how-to-use-zustands-persist-middleware-in-nextjs/640f4e685c1c3f8f90cb3705)
