Spyke

Replies

react

Comment on

*Permanently Deleted*

You're updating state, that your effect hook depends on, within the hook. So every time the state is updated the effect is run, which updates states which runs the effect etc.

You should use something like react query to handle async data