junproger / simple-examples-react-memo

Simple-examples-react-memo is the react applications for experience with React.Memo and useCallback https://junproger.github.io/simple-examples-react-memo/deploy/with-two-components/

Home Page:https://junproger.github.io/simple-examples-react-memo/deploy/with-two-components/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

simple-examples-react-memo

Simple-examples-react-memo is the react application for experience with React Memo and useCallback by Junproger

Created with parcel-typescript boilerplate project-preset-with-parcel by Junproger

Preset Repository: link

Simple-examples-react-memo: link

How to use

  1. Download archive with repo
  2. Extract and open directory
  3. Run terminal in directory
  4. Enter command: yarn install
  5. Enter command: yarn start
  6. Enjoy! You can use it!

Tech Stack

Packages

  • "@types/node": "^20.4.2",
  • "@types/react": "^18.2.15",
  • "@types/react-dom": "^18.2.7",
  • "@typescript-eslint/eslint-plugin": "^6.0.0",
  • "@typescript-eslint/parser": "^6.0.0",
  • "eslint": "^8.45.0",
  • "eslint-config-prettier": "^8.8.0",
  • "eslint-import-resolver-typescript": "^3.5.5",
  • "eslint-plugin-import": "^2.27.5",
  • "eslint-plugin-prettier": "^5.0.0",
  • "eslint-plugin-react": "^7.33.0",
  • "parcel": "^2.9.3",
  • "prettier": "^3.0.0",
  • "process": "^0.11.10",
  • "react": "^18.2.0",
  • "react-dom": "^18.2.0",
  • "typescript": "^5.1.6",

Folders

Source

|-- ./assets

|-- ./components

|-- ./constants

|-- ./declares

|-- ./types

Source

  • index.html as the entry point for Parcel, has links to favicon, styles and script
  • index.tsx as the index script of the React application
  • index.css as the global styles
  • app.tsx as the React app

Reference

React+TypeScript Cheatsheets GIT

React+TypeScript Cheatsheets WEB

Definitely Typed ENG

Definitely Typed RUS

MICROSOFT TYPESCRIPT CODING GUIDELINES ENG

GOOGLE CODING TYPESCRIPT STYLEGUIDE RUS

License

The ISC License (ISC)

About

Simple-examples-react-memo is the react applications for experience with React.Memo and useCallback https://junproger.github.io/simple-examples-react-memo/deploy/with-two-components/

https://junproger.github.io/simple-examples-react-memo/deploy/with-two-components/

License:ISC License


Languages

Language:TypeScript 79.2%Language:CSS 11.9%Language:HTML 8.9%