GithubHelp home page GithubHelp logo

zainulabidin302 / react-router-tutorial-v4 Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 419 KB

Tutorial for react router version 4

HTML 12.17% CSS 12.49% JavaScript 75.35%
react-router react-router4 react-router-v4 react-tutorial tutorial-code tutorial tutorials

react-router-tutorial-v4's Introduction

React Router 4 Tutorial

React Router, a popular React library,to manage navigation and rendering of components in react. In web development, routing is the process of matching a URL to a view, or the set of components being rendered. React Itself doesn't have built in routing features. Many developer rely on React Router,an external library designed specifically for React.

routing example

This tutorial uses React Router version 4.1.1

This demonstration is divided into 9 parts. Each part is a seperate folder

  • 01-introduction
  • 02-declaring-routes
  • 03-inline-rendering
  • 04-active-links
  • 05-passing-props-to-routes
  • 06-url-parameters
  • 07-nesting
  • 08-changing-routes-programmatically
  • 09-404-not-found

Each folder has its own instructions.

How to install and run examples

This tutorial is built using create-react-app.

git clone https://github.com/zainulabidin302/react-router-tutorial-v4
cd react-router-tutorial-v4/01-introduction
npm install
npm start

open your browser and navigate to http://localhost:3000

react-router-tutorial-v4's People

Contributors

zainulabidin302 avatar

Stargazers

 avatar

Watchers

 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.