You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 text was updated successfully, but these errors were encountered:
Danielecina
changed the title
Remove repetition of component nomenclature within component folders
Do we want to remove the repetition of component naming within component folders?
Oct 30, 2024
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
The text was updated successfully, but these errors were encountered: