Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: 馃悰 fix react infinite loop error (#169)
Setting state in the body of the component will cause below error: > Error Too many re-renders. React limits the number of renders to prevent an infinite loop. So to change name for once, it has to be run inside of useEffect
- Loading branch information