Patches
- Enhance: let config.isPaused works with react state: #871
- Fix: add protection for navigator: #877
- Ci: add GitHub Actions for CI: #879
- Ci: remove Travis CI: #887
- Docs: add isPaused() into the options: #888
- Update default fetcher documentation in README.md: #891
- Fix: revalidateOnFocus not working on '< iOS 14': #889
- Refactor: use getter functions to avoid unnecessary re-renders: #890
- Fix: add server check back for rAF: #899
- Fix: react-hooks/exhaustive-deps warnings: #886
- Test: add a test for useSWRInfinite with initialData: #894
- Separate tests: #901
- Refactor: fix all react-hooks/exhaustive-deps warnings in tests: #902
- Docs: use a fake GraphQL endpoint instead of graph.cool: #904
- Refactor: fix all react-hooks/exhaustive-deps warnings in useSWRInfinite: #905
- Fix the revalidation condition of the first page: #895
- Check key before calling callback: #856
- Chore: format files: #915
- Chore: rm duplicated tests: #914
- Test: recognize type definition for screen of testing-library/react: #903
- Chore: add a comment why fetcher accepts null: #918
- Refactor: fix all react-hooks/exhaustive-deps warnings in useSWR: #927
Credits
Huge thanks to @huozhi, @koba04, @mcamis, @joshuakimDwan, @joakimgrr, and @promer94 for helping!