Skip to content

thiagonunesbatista/use-swr-presentation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

useSWR presentation

Code created to a presentation about useSWR in an online event.

useSWR API

const { data, error, isValidating, mutate } = useSWR(key, fetcher, options)

⚙️ How to setup and run the project

Follow the steps below to run the project on your computer.

Setting the project

  1. Clone the project

Using SSH

git clone [email protected]:thiagonunesbatista/use-swr-presentation.git

Or using HTTP

git clone https://github.com/thiagonunesbatista/use-swr-presentation.git
  1. Enter in the folder of the project

Using shell

cd use-swr-presentation
  1. Install all the project's dependencies
npm install

Starting the project

npm start

📝 License

This project is under the MIT license.