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

No polyfill has been done #442

Open
Running53 opened this issue Dec 23, 2024 · 1 comment
Open

No polyfill has been done #442

Running53 opened this issue Dec 23, 2024 · 1 comment

Comments

@Running53
Copy link

Doesn't this library use Babel for polyfill? Then operators like?./??/... will report errors when running in a low-version browser environment, unless a Lodash is recompiled in the host environment.

@aleclarson
Copy link

aleclarson commented Dec 24, 2024

That's not a polyfill, it's called syntax downpiling.

Libraries aren't responsible for such a thing, unless you're talking about a CDN build. Generally though, I would discourage using CDN builds, especially for a library like Radash, where you only use a small portion of what exists. Read this post for more reasons.

P.S. Check out Radashi, an actively maintained fork of Radash

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

No branches or pull requests

2 participants