swr
swr copied to clipboard
swr repeated render problem
Use the react-router-v6 version and use Outlet to map sub-components. When the navigation is rendered, the const { data } = useSWR('/api/user', fetcher) data of the sub-component will be re-rendered. This is a problem. swr2.2.0 version
@promer94 This problem is still not fixed, in version '2.2.5'