Remix-run/react: @2.9.2
Whenever a user visits my web page, such as https://domainname.com, I would like it to automatically resolve to https://domainname.com/shop/all
I have a dynamic route under my app/routes folder: shop.$shopFilter, and two links in my root.tsx JSX:
<ul>
<li>
<Link to={'/shop/all'}>shop all</Link>
</li>
<li>
<Link to={'/shop/clothes'}>shop clothes</Link>
</li>
</ul>
Is it possible to force the root route to resolve to the /shop/all dynamic route, and thus execute the logic within that component as if the user clicked on my link to the /shop/all route in remix-run?
Thank you
Brickboy1213 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.