The description of the bug or the rationale of your proposal
Currently, we have a pattern similar to that in the components.
/Button/Button.tsx
/Button/index.tsx
The idea was to centralize the index.tsx everything we wanted to export about that component declaratively and not export everything by default.
Do we understand if we continue to like this aspect or change every part of the components to export all from index.tsx that contains the principal component
The new structure will be similar to this:
/Button/index.tsx
To date, it is certainly much more declarative and secure as to what we want to export things that we don't want to come out
The description of the bug or the rationale of your proposal
Currently, we have a pattern similar to that in the components.
The idea was to centralize the
index.tsx
everything we wanted to export about that component declaratively and not export everything by default.Do we understand if we continue to like this aspect or change every part of the components to export all from
index.tsx
that contains the principal componentThe new structure will be similar to this:
To date, it is certainly much more declarative and secure as to what we want to export things that we don't want to come out