You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The contents of these click handlers are beginning to like too much application logic being put in a presentation layer. Furthermore, these mutations, state updates etc might need to be reused elsewhere. I'm not super familiar with useSWR and the state updates, but it seems like all these could be made more reusable and stored in some kind of file that manages state, fetching, etc. Something like this: https://swr.vercel.app/getting-started#make-it-reusable
The contents of these click handlers are beginning to like too much application logic being put in a presentation layer. Furthermore, these mutations, state updates etc might need to be reused elsewhere. I'm not super familiar with useSWR and the state updates, but it seems like all these could be made more reusable and stored in some kind of file that manages state, fetching, etc. Something like this: https://swr.vercel.app/getting-started#make-it-reusable
Originally posted by @evansiroky in #29 (comment)
The text was updated successfully, but these errors were encountered: