Error when trying to fetch an API using SWR (Next.js)

前端 未结 0 558
夕颜
夕颜 2020-12-24 07:16

I run successfully the following code from SWR examples page:

import useSWR from "swr";

const fetcher = url => fetch(url).then(res => res.jso         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题