An open API service indexing awesome lists of open source software.

https://github.com/1000ship/react-polyfill-test

Test ReactJS with polyfill For supporting IE
https://github.com/1000ship/react-polyfill-test

ie polyfill react

Last synced: 7 months ago
JSON representation

Test ReactJS with polyfill For supporting IE

Awesome Lists containing this project

README

          

# Let's check how many features works in IE

##

| Not IE | IE |
| -------------------------------------------- | ---------------------------------------- |
| | |

## Memo

- Only production mode supports IE browser

` "start:ie": "nodemon --watch 'src/**/*' -e ts,tsx,css --exec 'yarn build && serve -s build'"`

- Recognize IE browser

` export const isIE = /* @cc_on!@ */ false || !!(document as any).documentMode;`

- Check out at this page

- Main Page : http://1000ship.github.io/react-polyfill-test
- Another Page : http://1000ship.github.io/react-polyfill-test/#/another

## JS

- async-await / Promise (OK)
- useState (OK)
- useEffect (OK)
- useRef (OK)
- useCallback (OK)
- useContext (OK)
- fetch (OK)

## CSS

- flexbox (NO)

```css
.like_flexbox {
display: table-cell;
text-align: center;
vertical-align: middle;
}
```

- animation (NO)

- Unit 'vw', 'vh' (OK)

- cursor (OK)

- @media query (OK)

## Module

- styled-components (OK)

## Other

- import SVG file (OK)
- Typescript (OK)
- react-router-dom (OK)
(Don't put 'homepage' attribute in package.json)