You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see lodash has been used a lot where it can be avoided and JS native functions can used instead. Example would be _filter and _includes.
This is also being added to templates which should be discouraged
Additional Information
Using third party libraries can have their own problems
Maintenance headache - there is a cost to upgrade (backward compatibility issues) and cost not to upgrade (deprecation and other dependencies that will require upgrade).
These are not treated as first class citizens and can have performance issues
We should avoid them unless absolutely necessary.
So for filter and includes they are already available on lists/arrays and we should use them.
Description
I see lodash has been used a lot where it can be avoided and JS native functions can used instead. Example would be _filter and _includes.
This is also being added to templates which should be discouraged
Additional Information
Using third party libraries can have their own problems
We should avoid them unless absolutely necessary.
So for filter and includes they are already available on lists/arrays and we should use them.
Aha! Link: https://t-mobile1t-mobile.aha.io/features/JZ-27
The text was updated successfully, but these errors were encountered: