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.
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