Sniberb
Sniberbβ€’3y ago

πŸŽƒ 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?
17 Replies
Unknown User
Unknown Userβ€’3y ago
Message Not Public
Sign In & Join Server To View
Sniberb
SniberbOPβ€’3y ago
in my case all the files in SearchCollapsibles are JSX
Unknown User
Unknown Userβ€’3y ago
Message Not Public
Sign In & Join Server To View
Sniberb
SniberbOPβ€’3y ago
js and jsx doesnt matter its literally the same
Unknown User
Unknown Userβ€’3y ago
Message Not Public
Sign In & Join Server To View
Sniberb
SniberbOPβ€’3y ago
correct
Unknown User
Unknown Userβ€’3y ago
Message Not Public
Sign In & Join Server To View
Sniberb
SniberbOPβ€’3y 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
Unknown User
Unknown Userβ€’3y ago
Message Not Public
Sign In & Join Server To View
Sniberb
SniberbOPβ€’3y ago
im asking πŸ˜…
Unknown User
Unknown Userβ€’3y ago
Message Not Public
Sign In & Join Server To View
Sniberb
SniberbOPβ€’3y ago
yeah its cleaner thank you ill take it into account
Unknown User
Unknown Userβ€’3y ago
Message Not Public
Sign In & Join Server To View
Sniberb
SniberbOPβ€’3y ago
and what about the source files to those folders? index.jsx or FinancialInstruments.jsx
Unknown User
Unknown Userβ€’3y ago
Message Not Public
Sign In & Join Server To View
Sniberb
SniberbOPβ€’3y ago
components
reactibot
reactibotβ€’3y ago
This thread hasn’t had any activity in 12 hours, so it’s now locked. Threads are closed automatically after 12 hours. If you have a followup question, you may want to reply to this thread so other members know they're related. https://discord.com/channels/102860784329052160/565213527673929729/1047087964032880660

Did you find this page helpful?