A Complete Beginner's Guide to React Router (including Router Hooks)

Ibrahima Ndaw on February 17, 2020

Originally posted on my blog React is a JavaScript library for building user interfaces. We can also extend it to build Multi-page applications wi... [Read Full]
markdown guide

Hey! Nice tutorial.

By the way, any reason to use <Fragment> instead of <>?


I use Fragment to not confuse beginners, it's much clear than <>. Anyway, thanks for your comment.


Yeah, I agree with that. <Fragment> is much clearer. Thanks for the reply!


The first code section needs: import React, { Fragment } from 'react'
They all need consistent indentation.
And make sure the other dependencies work: ./src/App.js
Line 27:6: 'FakeText' is not defined react/jsx-no-undef


This is awesome. Thanks a lot.

code of conduct - report abuse