ashishsober / react-jumpstart

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

** Important Links

https://reactjs.org/docs/create-a-new-react-app.html
https://www.codementor.io/@blizzerand/building-forms-using-react-everything-you-need-to-know-iz3eyoq4y
  • Always create a module for css while creating a style

  • "axios": "^0.19.2",//http-library you can use other library too,like fetch ajax etc

      https://hashnode.com/post/5-best-libraries-for-making-ajax-calls-in-react-cis8x5f7k0jl7th53z68s41k1
    
      React-axios middleware ,if we are using redux
    
  • To build Forms

    use https://jaredpalmer.com/formik/docs/overview
    
  • React lifecycle Hooks

      componentDidMount()--data fetching and event listeners
      componentDidUpdate() --- data fetching 
      componentwillUnmount()---unsubscribing event listeners
    
  • Hooks---use in functional component

      useState()   --to change the state in functional component
      useEffect() --it runs after first(componentdidmount) render() and after every update(coponentwillupdate) and return the callback for unsubscribing anything like(componentWillUnmount).
      https://www.freecodecamp.org/news/learn-the-basics-of-react-hooks-in-10-minutes-b2898287fe5d/
    
  • For SCSS

       npm install node-sass
       using SCSS modules
       Instead of class use className
    
  • React-Redux 7.2

  • React Native

      https://reactnative.dev/
    

About


Languages

Language:JavaScript 81.7%Language:SCSS 10.6%Language:HTML 3.2%Language:Dockerfile 2.5%Language:CSS 1.5%Language:Shell 0.5%