Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: return TextEncoder polyfill as it's not JS standard #3278

Merged
merged 2 commits into from
Nov 13, 2023

Conversation

stepan662
Copy link
Collaborator

No description provided.

@stepan662 stepan662 linked an issue Nov 10, 2023 that may be closed by this pull request
@stepan662
Copy link
Collaborator Author

I've tested the performance and it's basically identical. Bundle size increase is about 0.5 kB.

@dzengi-com
Copy link

It will be better to use the solution. It's more productive

https://github.com/samthor/fast-text-encoding/tree/master/bench

@stepan662 stepan662 force-pushed the stepangranat/revert-text-decoder-polyfill branch from e1b1d24 to 9ba4999 Compare November 13, 2023 08:20
@stepan662 stepan662 force-pushed the stepangranat/revert-text-decoder-polyfill branch from 5999b1c to d12444a Compare November 13, 2023 09:09
@stepan662 stepan662 merged commit d2423e1 into main Nov 13, 2023
26 checks passed
@stepan662 stepan662 deleted the stepangranat/revert-text-decoder-polyfill branch November 13, 2023 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

React Native crush issue "Property "TextEncoder" doesn't exist"
3 participants