Skip to content

Latest commit

 

History

History
52 lines (34 loc) · 3.45 KB

File metadata and controls

52 lines (34 loc) · 3.45 KB

Routing

  • You can create a simple route structure using Switch and Route 📚
  • You know how to add parameters to a route, and make them required or optional 📚
  • You know how to match exactly the route needed 📚
  • You know how to render 404 pages 📚
  • You know how to use in order to render a needed component in a given occasion
  • You know how to interact with browser history via the history API 📚
  • You know how to use basic router hooks (useHistory, useLocation, useParams, useRouteMatch) 📚
  • You know how to manipulate history's location object
  • You know to how separate private routes from public routes
  • You know how to securely render routes depending on the user's permission
  • You know how to use basic components - Link, NavLink 📚

Contribution

We are very open to contributions to extend or change the requirements based on your gut and experience. To contribute you can use a pull request which will be later validated by our technical team and added to the main docs.

If you will spot any issues please add them in the Issues section.

Credits

This page is maintained by the 🔹 Flairs.ai and 🇵🇱 Apptension teams.

If you would like to create a dedicated Developer Handbook for your company, you can e-mail us 👉 contact@flairs.ai

License

MIT License

© 2020 Flairs Sp. z o.o.

Built and maintained by Flairs and Apptension.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.