You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Most of your words are pretty safe, but when using includes the way you are in router, you risk accidentally handling files in a way you didn't mean to. If you end up creating another route that is ('signup-error') for example, if your router sees 'signup' in it first, it will route there instead of where you mean to. Using url.includes('/signup/') is safer I believe.
Having said that, I think my team's project looks the same...
The text was updated successfully, but these errors were encountered:
Most of your words are pretty safe, but when using includes the way you are in router, you risk accidentally handling files in a way you didn't mean to. If you end up creating another route that is ('signup-error') for example, if your router sees 'signup' in it first, it will route there instead of where you mean to. Using url.includes('/signup/') is safer I believe.
Having said that, I think my team's project looks the same...
The text was updated successfully, but these errors were encountered: