Replies: 2 comments
-
@KrisLau You should generally never use lodash's _.find, _.filter, and _.map. Use the native equivalent: [].find, [].filter, and [].map() for maximum speed. |
Beta Was this translation helpful? Give feedback.
-
Generally, using the built in orm is better since it runs on the native side, |
Beta Was this translation helpful? Give feedback.
-
When having to choose between doing a query and an array method (
.filter()
,.map()
, etc) or lodash stuff like_.find()
, which one should I use?Beta Was this translation helpful? Give feedback.
All reactions