reactjs


File naming conventions in reactJS?


am rubyist. But i started learning reactJS as well. I thing which am confusing here is how to name folders and files in react app directory.
To name component files few people following TitleCase.js and few following camelCase.js.
To name app directories few people following camelCase and few
smallcase or small-case
I tried to find the official documentation on naming conventions in reactJS. But i couldn't. can some help me to find the exact way of naming files in reacts? Thanks in advance.
Regarding naming conventions, ReactJS is unopinionated.
There isn't an official guideline or statement about the questions you raised. You won't find them in the documentation either.
It's a personal (team) preference. If you struggle to enforce one, you could stick to something like Airbnb's mostly reasonable approach to React and JSX.
PS: As long as you're consistent, I would say you're safe.

Related Links

How to return multiple lines JSX in another return statement in React?
How to change the state of a sibling component in ReactJS for a Master/Slave checkbox system?
How to handle click events on child components in React.js, is there a React “way”?
Loading message before time consuming operation in React.js
Handle react event and legacy library event together
Reuse markup from react component in single-page, client-side only webapp
ReactJS state vs prop
React-tools: app.jsx changed; rebuilding… never ends
Passing global values to sub components
React, Flux, State and Stores
Reactjs children not created in render don't update
How to include a Font Awesome icon in React's render()
Using JSX without <script type=“text/jsx”> tag?
React: Is possible add elements to Virtual dom but use jquery for append to the real dom rendering?
My simple react.js app is a blank page on my phone (but works on my desktop and tablet). Why?
React.js get checked inputs

Categories

HOME
asterisk
classification
skype-for-business
youtube-api
stata
oracle-sqldeveloper
cxf
mifare
jquery-plugins
magento-1.9.2.1
hiveql
ebay
grid
perl6
glympse
jshell
comments
schema
openbsd
adroitlogic
logstash-configuration
hql
tag-cloud
taxonomy
template10
ibatis
virtuemart
google-calendar-api3
project-reactor
spring-webflow
bug-reporting
ejb-3.1
android-navigation-drawer
multipart
beaker-notebook
ng-tags-input
uipath
continuous-fourier
csproj
paper-trail-gem
ios9
eclipse-jdt
flex3
perf
scip
const
stdin
nsdateformatter
keychain
google-chrome-console
ape-phylo
colorbox
python-venv
inner-join
logan-square
spring-webflow-2
hierarchical-clustering
stanford-nlp-server
androiddesignsupport
grib
overhead
iban
fileopendialog
firebase-job-dispatcher
scikit-image
dimensionality-reduction
mate-desktop
key-value-store
audiorecord
boost-propertytree
innertext
jcomponent
properties-file
nmock
firewire
stderr
genome
dockerpy
indices
iphone-6
dojox.grid
drawable
power-management
.net-reflector
lastinsertid
grunt-wiredep
misfire-instruction
grape-api
android-library
symbian3
select2-rails
urlfetch
django-tinymce
invalidoperationexception
teamsystem
databus
states
android-memory
github-archive
umfpack
symfony-1.2
iphone-maps
miniport
appointment
calendarextender
file-storage
httpbrowsercapabilities

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App