πŸŽƒ Spookyberb πŸŽƒ – 09-53 Nov 29

What is the correct naming JS/React convention to name files? The forlders must be in upper or lower case?
UU
Unknown Userβ€’506d ago
S
Sniberbβ€’506d ago
in my case all the files in SearchCollapsibles are JSX
UU
Unknown Userβ€’506d ago
S
Sniberbβ€’506d ago
js and jsx doesnt matter its literally the same
UU
Unknown Userβ€’506d ago
S
Sniberbβ€’506d ago
correct
UU
Unknown Userβ€’506d ago
S
Sniberbβ€’506d ago
so the folders if its a general page for example financial instruments its a whole page it should go all in lowercase but folders that are full of components Ive been all my life naming them in UpperCase
UU
Unknown Userβ€’506d ago
S
Sniberbβ€’506d ago
im asking πŸ˜…
UU
Unknown Userβ€’506d ago
S
Sniberbβ€’506d ago
yeah its cleaner thank you ill take it into account
UU
Unknown Userβ€’506d ago
S
Sniberbβ€’506d ago
and what about the source files to those folders? index.jsx or FinancialInstruments.jsx
UU
Unknown Userβ€’506d ago
S
Sniberbβ€’506d ago
components
UU
Unknown Userβ€’506d ago