Giter Site home page Giter Site logo

my-jira's Introduction

从创建开始

  1. npx create-react-app myreact --template typescript
  2. 修改 tsconfig 的 baseUrl 为根目录
  3. 引入 json-server :npm i -g json-server
  4. 引入 import 'bootstrap/dist/css/bootstrap.min.css'
  5. qs 的安装,npm add qs

Test 文件夹

  1. 主要学习了 useCallback 和 React.memo 搭配使用,使得子组件不重复渲染
  2. 对 useMemo 和 useCallback 的理解是:
    • useMemo 相当于计算属性,用于本组件作用区
    • useCallback 用做绑定点击事件需要传给子组件时使用

my-jira's People

Contributors

xsummersx avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.