Skip to content

Commit f19ed7c

Browse files
authored
docs(components): mention required polyfills (#508)
* docs(components): mention required polyfills * style: resolve linter issues
1 parent 1481311 commit f19ed7c

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

docs/components/index.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,3 +63,27 @@ Both `@tapsioss/web-components` and `@tapsioss/react-components` rely on the
6363
include this package in your project to ensure the components render correctly.
6464

6565
:::
66+
67+
::: danger Using Polyfills
68+
69+
To ensure compatibility with earlier browser versions, you might need to include
70+
specific polyfills.
71+
72+
### For Chrome 64 and Newer (excluding Chrome 66)
73+
74+
- `core-js@3`:
75+
- `stable/array/flat`
76+
- `stable/symbol`
77+
- `stable/global-this`
78+
- `stable/promise/all-settled`
79+
- `element-internals-polyfill`
80+
- `@webcomponents/webcomponentsjs/webcomponents-bundle.js`
81+
82+
### For Chrome 55 to Chrome 63
83+
84+
- The entire `core-js@3` library
85+
- `@webcomponents/webcomponentsjs/custom-elements-es5-adapter.js`
86+
- `@webcomponents/webcomponentsjs/webcomponents-bundle.js`
87+
- `element-internals-polyfill`
88+
89+
:::

0 commit comments

Comments
 (0)