Timeline for Correct way of importing and using lodash in Angular
Current License: CC BY-SA 4.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Nov 10, 2019 at 1:39 | comment | added | Marcus Ekström | I did verify it using the vscode size checker, unfortunately I cannot remember the name of the plugin, but yes it did work as expected. | |
| Sep 20, 2019 at 15:06 | comment | added | ihor.eth | Did it reduce your bundle size ? I tried importing it like this but as mentioned in accepted answer tree shaking doesn't work this way so the whole lodash library is imported. | |
| Sep 20, 2019 at 8:55 | comment | added | Marcus Ekström | I might have misunderstood how it works, but to my knowledge, I'm not importing everything from Lodash. I am selectively only importing debounce. | |
| Sep 18, 2019 at 22:52 | comment | added | ihor.eth | I dont get it. what's the point of adding 'lodash-es' package if you are still importing everything from 'lodash' | |
| Feb 11, 2019 at 9:10 | review | Late answers | |||
| Feb 11, 2019 at 9:10 | |||||
| Feb 11, 2019 at 8:50 | history | answered | Marcus Ekström | CC BY-SA 4.0 |