DEV Community

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

Collapse
supunkavinda profile image
Supun Kavinda

Hey! Nice tutorial.

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

Collapse
ibrahima92 profile image
Ibrahima Ndaw Author

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

Collapse
supunkavinda profile image
Supun Kavinda

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

Thread Thread
ibrahima92 profile image
Ibrahima Ndaw Author

You're welcome.