DEV Community

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

Collapse
ctimmerman profile image
Cees Timmerman • Edited on

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