swr vs axios with setInterval for large json data and high frequency in React #797
Unanswered
nitesh-tosniwal
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to build an application with large json data and sending get request every 7 seconds. So, both data size and frequency are high. Should i use
swr
oraxios with react hooks and setinterval
. I am using ag-grid and react-vis chart to display data.There are 12 tables in every page with 30-100 rows. I am concerned about the performance issues.
Can swr be good fit for this type of application?
Beta Was this translation helpful? Give feedback.
All reactions