在这个例子中,React钩子 useSWR 接受 key 和 fetcher 函数。 key 是请求的唯一标识符,通常 ... </h1> <button onClick={async () => { const newName = data.name.
確定! 回上一頁