I’m trying to create a module that exports multiple ES6 classes. Let’s say I have the following directory structure: my/ └── module/ ├── Foo.js ├── Bar.js └── index.js Foo.js...
  • May 31, 2022
  • 0 Comments
I had a pull request feedback below, just wondering which way is the correct way to import lodash? You’d better do import has from ‘lodash/has’.. For the earlier version...
  • May 23, 2022
  • 0 Comments
I am currently using ES6 in an React app via webpack/babel. I am using index files to gather all components of a module and export them. Unfortunately, that looks...
  • May 20, 2022
  • 0 Comments