3 ms·
It's easy: you can use React Router and push a new route/URL when the link is clicked with onClick. This breaks middle/right clicks. I actually did this mistak
by XCSme 6y ago
It's easy: you can use React Router and push a new route/URL when the link is clicked with onClick. This breaks middle/right clicks.
I actually did this mistake when starting with React, now I try to make everything as close to a native link as possible.