From aa9a5f02bdefbdefc1e45e213b721984067e90e6 Mon Sep 17 00:00:00 2001 From: Heather Cloward Date: Thu, 11 Nov 2021 19:52:14 -0500 Subject: [PATCH] remove IE polyfills as IE is no longer supported --- docs/deployment/react.md | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/docs/deployment/react.md b/docs/deployment/react.md index 95378f72..84050c3c 100644 --- a/docs/deployment/react.md +++ b/docs/deployment/react.md @@ -28,25 +28,6 @@ npm i react react-dom mobx styled-components core-js import { RedocStandalone } from 'redoc'; ``` -### IE polyfills - -If you use Redoc as a React component and you want your OpenAPI definition to render with -IE browsers, include the following polyfills in your project: - -``` -import 'core-js/es6/promise'; -import 'core-js/fn/array/find'; -import 'core-js/fn/object/assign'; -import 'core-js/fn/string/ends-with'; -import 'core-js/fn/string/starts-with'; - -import 'core-js/es6/map'; -import 'core-js/es6/symbol'; - -import 'unfetch/polyfill/index'; // or any other fetch polyfill -import 'url-polyfill'; -``` - ## Step 2 - Use the component You can either link to your OpenAPI definition with a URL, using the following format: