i have a React + Redux app, i want to link to a privacy.html page which is a static html file in the root of the project along side with index.html which is the react app.
The problem is that the link to /privacy.html
is caught by the <Route path='*' component={NotFoundView} />
Is there a work around for this?
React-static is a progressive static site generator based on React and its ecosystem. Because it is powerful, lightweight, and fast, it will be a great option for your next React app. React-static has been carefully designed for user/developer experience, flexibility, and performance.
Don't use Link
for pages outside of your app. Simply use a standard <a>
tag.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With