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

Use alternatives for lodash.set / lodash.get which are smaller & faster #565

Open
felixmosh opened this issue Sep 13, 2020 · 2 comments
Open

Comments

@felixmosh
Copy link
Contributor

dlv - alternative for lodash.get
dset - alternative for lodash.set
nestie - unwrap string notation to object / array

@rkuykendall WDYT?

@rkuykendall
Copy link
Member

I'm open to the idea, but hesitant. A lot of code goes into lodash when you dive into it, and I know things like isPlainObject are especially complicated to re-create. If you, or someone else wants, I'd be happy to check out a branch that tries this out. It shouldn't take long to just replace things like you mentioned above. And if it goes well, I could even see us just moving them into formsy natively, since the source for those you linked is very very short.

@felixmosh
Copy link
Contributor Author

I will try it when I have time for it :]

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