Giter Club home page Giter Club logo

react-sprint13-routes's Introduction

React online marathon

The tasks of the topic "Routes"

There is an application that looks like:


Provide for this application routes to do next subtasks:

  1. Create the path /subtask1 with parameter. After navigating to this path the application renders div element with text Subtask1, parameter: and value of parameter. E.g. routing to /subtask1/2 renders Subtask1, parameter: 2 in an div element.


  

  1. Create the path /subtask2 with query. After navigating to this path the application renders div element with text Subtask2, query parameters: and values of all query parameters separated by comma. E.g. routing to /subtask2?author=alan&age=20 renders Subtask2, query parameters: author=alan, age=20 in an div element.


  

  1. Create the path /subtask3 with guard. If you click on link Show protected information if and if, at the same time, a number entered in the input is odd, the application navigates to /subtasks3 and renders div element with text Subtask3, protected information


  

  1. Create the path /subtask4 which can be navigated programmatically as well as through address bar. Programmed route is triggered when user sets value of the check box to checked. After navigating to this path the application renders div element with text Subtask4, navigated programmatically


  

react-sprint13-routes's People

Contributors

yurchenko08 avatar github-classroom[bot] avatar

Stargazers

 avatar

Watchers

 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.