Skip to content

Commit ced6a46

Browse files
committed
docs: add internet explorer section in readme
1 parent 803881e commit ced6a46

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ const Step1 = () => {
6363
- [Examples](#examples)
6464
- [Async](#async)
6565
- [Animation](#animation)
66+
- [IE11](#ie11)
6667

6768
## API
6869

@@ -227,3 +228,8 @@ If an async function is attached to `handleStep` the `isLoading` property will i
227228
Since `react-use-wizard` is focused to manage the logic of a wizard it doesn't mean you can't add some animation by your own. Add any animation library that you like. I highly suggest [framer-motion](https://www.framer.com/motion/) to add your animations.
228229

229230
Checkout this [example](https://github.com/devrnt/react-use-wizard/blob/main/playground/components/animatedStep.tsx) to see how a step can be animated with framer motion.
231+
232+
## IE11
233+
Since Internet Explorer 11 doesn't support promises or async functions you'll need to install a polyfill for the `regenerator-runtime`.
234+
235+
In general using [react-app-polyfill](https://www.npmjs.com/package/react-app-polyfill) is recommended, it includes polyfills for various browsers.

0 commit comments

Comments
 (0)