-
Notifications
You must be signed in to change notification settings - Fork 755
Closed
Labels
Description
Bug
Internet explorer with compatibility found in the guide does not work. Static routes will show a 404 and when using things like useRouteData
or withRouteDate
the site will never load. There are also no console.error messages so I'm not sure where the issues lies.
Environment
System:
OS: Windows 10 10.0.18363
CPU: (12) x64 AMD Ryzen 5 3600 6-Core Processor
Memory: 6.76 GB / 15.93 GB
Binaries:
Node: 12.13.0 - C:\Program Files\nodejs\node.EXE
npm: 6.12.0 - C:\Program Files\nodejs\npm.CMD
Browsers:
Edge: 44.18362.449.0
npmPackages:
react: ^16.9.0 => 16.12.0
react-dom: ^16.9.0 => 16.12.0
react-hot-loader: ^4.12.11 => 4.12.18
react-static: ^7.2.0 => 7.2.3
react-static-plugin-reach-router: ^7.2.0 => 7.2.3
react-static-plugin-sitemap: ^7.2.0 => 7.2.3
react-static-plugin-source-filesystem: ^7.2.0 => 7.2.3
react-static-plugin-typescript: ^7.2.0 => 7.2.3
babel-polyfill: "^6.26.0",
Steps to Reproduce the problem
Base your steps off of any freshly installed react-static template!
- Use react-static template typescript (I'm sure others work)
- Add IE compatibility
webpack: (config, { stage }) => {
config.entry = [
'babel-polyfill',
...(Array.isArray(config.entry) ? config.entry : [config.entry]),
];
return config;
},
npm start
Expected Behavior
Routes to load fine