Previously we moved our widget code into index.ts files to make import paths smaller.
However, it would have been better to use named files and use index files as barrel files.
ie. move /widgets/text-input/index.ts to /widgets/text-input/TextInput.ts
Enhancement
Previously we moved our widget code into
index.ts
files to make import paths smaller. However, it would have been better to use named files and use index files as barrel files.ie. move
/widgets/text-input/index.ts
to/widgets/text-input/TextInput.ts