I am new in reactjs and I have a little project in reactjs to play with and learn it. I need to have to type of headers which will be shown based o
reactjs
For Tomcat versions below 8. You can just add a web.xml file and route the 404 to index.html.
web.xml
index.html
webapps/[my-app-name]/WEB-INF/web.xml
my-app-name 404 /index.html