Z
Z
Zig-mund2022-04-07 13:43:09
React
Zig-mund, 2022-04-07 13:43:09

React automatic routing?

Hello everyone
. Don't kick too much.
You need to do routing like in Next.js. For example, in the pages directory I create the Products page component and I can get it from the '/products' link. And that this component was added to the menu.
How to do it? Maybe there is some library or article on how to do this.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
wonderingpeanut, 2022-04-07
@Zig-mund

it's called filesystem routing
google found it once and twice

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question