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
[Research] Replace Lodash library by JS methods #4196
Comments
@nurSaadat Since you have done a lot of research work on this, do you want to take this task? or help creating sub-tasks and take part of them? |
@ananzh yes, I was trying to tackle this problem awhile ago, and I will be happy to take on this issue and share work with other contributors. What is being planned@Aigerim-ai and I are planning to create sub-tasks based on the plugins and packages where Lodash is present. So far we discussed that we are going to
Contents of Lodash issuesIn the issues we are going to mention a plugin/package/directory to work on as well as mention Lodash occurrences in the plugin/package and list files in the issue description. (Like in OUI issues) What we expect from contributors working on those issues is
Right now @Aigerim-ai is working on the [Meta] issue describing the story of the changes |
Hey @nurSaadat @ananzh ! can you assign me this issue? I wanna contribute !! |
Hi @nurSaadat @ananzh |
As mentioned in #3661 Lodash can be replaced in some files by pure JS thanks to the development in JS functionalities.
Lodash methods are currently can be found in 813 files,
here is the list
My approach would be to change the methods package by package, plugin by plugin. To be specific that would include 86 different subtasks listed in this file
I suggest reducing the number of subtasks, as I still need to calculate how many files will be audited in every plugin.
I'd like to use this conversion table created by research and ChatGPT help (probably needs correction).
I propose to create separate issues for each subtask for discussion and easier navigation.
References to resources used:
https://www.sitepoint.com/lodash-features-replace-es6/
https://blog.bitsrc.io/you-dont-need-lodash-or-how-i-started-loving-javascript-functions-3f45791fa6cd
The text was updated successfully, but these errors were encountered: