I don;t know why my react app is not working on internet explore. Today only I noticed that. it is working fine with Google chrome and Mozilla firebox. but freecodecamp website which is created by react running fine on internet explorer . how to sort out this isuue
If you used create-react-app
in your package.json
there is browserslist
key which lists supported browsers.
is that means it wont support
If browserslist
has something like
not ie
then it won’t support Internet Explorer.
But then why freecodecamp website works ? not the forum
I am really sorry . where should i include this code to get my react app run on internet explorer
Post your package.json
file here.
is that okay if i upload to github
hi, i am having the same issue here is my package.json
{
"homepage": "http://novaztec.com/",
"name": "novaztec",
"version": "0.1.0",
"private": true,
"dependencies": {
"@farbenmeer/react-spring-slider": "^1.0.1",
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.4.0",
"@testing-library/user-event": "^7.2.1",
"axios": "^0.19.0",
"bootstrap": "^4.4.1",
"d3-array": "^2.4.0",
"d3-random": "^2.0.1",
"d3-scale": "^3.2.1",
"data-driven-motion": "0.0.11",
"hls.js": "^0.13.0",
"jquery": "^3.4.1",
"mdbreact": "^4.24.0",
"particles-bg": "^2.4.6",
"particlesjs": "^2.2.3",
"prop-types": "^15.7.2",
"query-string": "^6.9.0",
"react": "^16.12.0",
"react-app-polyfill": "^1.0.5",
"react-bootstrap": "^1.0.0-beta.16",
"react-dom": "^16.12.0",
"react-helmet": "^5.2.1",
"react-meta-tags": "^0.7.4",
"react-particles-js": "^2.7.0",
"react-player": "^1.14.2",
"react-router": "^5.1.2",
"react-router-dom": "^5.1.2",
"react-scripts": "3.3.0",
"reactstrap": "^8.2.0",
"redux": "^4.0.5",
"video-react": "^0.14.1",
"yarn": "^1.21.1"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"deploy": "yarn run build && now ./build --name=myapp-spa"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"ie 11",
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"emailjs-com": "^2.4.1",
"install-peers": "^1.0.3"
}
}