The second version of ogulcaneristi.dev. I used React Query for data fetching and error handling. I experienced that we can fetch data very simple. I was able to handle the errors that may occur during data fetching and show them to the user with parameters such as loading, error.
Built with React.js v17 and SASS
Hosted with Vercel
Package | Version |
---|---|
axios | ^0.21.4 |
react-copy-to-clipboard | ^5.0.4 |
react-icons | ^4.2.0 |
react-query | ^3.21.1 |
react-reveal | ^1.2.2 |
react-useanimations | ^2.0.8 |
react-scroll | ^1.8.4 |
prettier | ^2.4.0 |
sass | ^1.39.0 |
- Install deps with NPM or Yarn:
npm install
#or
yarn install
- In the project directory, run the development server:
npm run start
#or
yarn start
- Generate full static build for production:
npm run build
#or
yarn build
- To preview the site as it'll appear after deployed:
npm run serve
#or
yarn serve