Skip to content

Commit

Permalink
Ensure the demo works with ie11
Browse files Browse the repository at this point in the history
  • Loading branch information
djhi committed Aug 30, 2021
1 parent 9a1e37c commit c43bdac
Show file tree
Hide file tree
Showing 3 changed files with 1,258 additions and 32 deletions.
4 changes: 2 additions & 2 deletions examples/demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@
"ra-language-french": "^3.9.0",
"react": "^17.0.0",
"react-admin": "^3.9.0",
"react-app-polyfill": "^1.0.4",
"react-app-polyfill": "^2.0.0",
"react-dom": "^17.0.0",
"react-redux": "^7.1.0",
"react-router": "^5.1.0",
"react-router-dom": "^5.1.0",
"react-scripts": "^4.0.1",
"react-scripts": "^4.0.3",
"recharts": "^1.8.5",
"redux-saga": "^1.0.0"
},
Expand Down
4 changes: 4 additions & 0 deletions examples/demo/src/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
/** @jsxRuntime classic */
import 'react-app-polyfill/ie11';
import 'react-app-polyfill/stable';
import 'proxy-polyfill';
// IE11 needs "jsxRuntime classic" for this initial file which means that "React" needs to be in scope
// https://github.com/facebook/create-react-app/issues/9906

import * as React from 'react';
import ReactDOM from 'react-dom';

Expand Down
Loading

0 comments on commit c43bdac

Please sign in to comment.