Giter VIP home page Giter VIP logo

learn-react's Introduction

Learn React

A step-by-step guide to learn React and it's fundamentals.

Yes, yet another todo app.

Demo

Prerequisites

  • HTML/CSS
  • Basic JavaScript
  • ES6

Required Tools

Install create-react-app

create-react-app is a tool to build React apps in no time. It allows us to create React apps without any build configuration.

From your terminal, install create-react-app globally.

npm install -g create-react-app

create-react-app my-app
cd my-app
npm start

Let's get started.

Steps

Clone the repository.

git clone [email protected]:mesaugat/learn-react.git

git checkout <branch-name> in your terminal to the branch you want to navigate to.

  • step-0 - Initialize create-react-app
  • step-1 - The Hello World of React
  • step-2 - Add some HTML/CSS for the todo list
  • step-3 - Extract todo items to an array
  • step-4 - Create a TodoList component
  • step-5 - Extract a TodoItem component
  • step-6 - And TodoCount component and move files to a components directory
  • step-7 - Add InputBox component for adding a note
  • step-8 - Make App component stateful
  • step-9 - Add prop types validation
  • step-10 - Make a controlled input component
  • step-11 - Add event handler to change todo status
  • step-12 - Add a new component TodoFilter and it's event handlers
  • step-13 - Make HTTP request to fetch notes
  • step-14 - Deploy app
  • step-15 - Finalize

Resources

License

MIT


This guide is heavily inspired from kabirbaidhya/react-todo-app.

learn-react's People

Contributors

mesaugat 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.