Skip to content

Commit 8703608

Browse files
authored
docs: add browser compat table (#2444)
Follow-up to #2443 (comment).
1 parent 8e3e506 commit 8703608

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docusaurus/docs/React/release-guides/upgrade-to-v12.mdx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,13 @@ Provide custom `TypingIndicator` through the `Channel` prop.
254254

255255
Version 12 targets browsers that support ES2020. In particular, the code includes `async` functions, optional chaining (`?.`), and nullish coalescing (`??`). These features have been supported by all major desktop and mobile browsers for years, so it made sense for us to raise the baseline.
256256

257+
The following browsers [support ES2020](https://caniuse.com/?feats=mdn-javascript_operators_optional_chaining,mdn-javascript_operators_nullish_coalescing,mdn-javascript_builtins_globalthis,es6-module-dynamic-import,bigint,mdn-javascript_builtins_promise_allsettled,mdn-javascript_builtins_string_matchall,mdn-javascript_statements_export_namespace,mdn-javascript_operators_import_meta) and should be able to run the SDK as-is:
258+
259+
- Chrome 80 and later
260+
- Safari 14.1 and later on desktops, 14.5 and later on iOS
261+
- Edge 80 and later
262+
- Firefox 80 and later
263+
257264
If you need to support older browsers, you should transpile your bundle using `babel` or a similar tool.
258265

259266
:::important

0 commit comments

Comments
 (0)