It is a good practice to follow community standards while developing softwares. It has some major pros like
- Its easier to understand and debug/maintain software
- quicker to get help when needed from community
- It will lower development cost [Money and Time]
We will be taking the convention used by this project into consideration. react-slingshot
Make a dir called ‘todo‘ and initialize a node.js app. Continue reading
My assumptions: You have prior experience of Web framework like
Ruby on Rails, Django, Phoenix, etc.
Please refer to this React.js style guide for community comprehensible source code.
Hey, its not mandatory to use NPM to build applications with ReactJs; but, it will be alot easier to build, maintain, share codes using NPM. Firstly you should have NodeJs installed in your development machine.
Installation for Development Environment
$ sudo apt-get install nodejs
$ node -v
# if its says
command not found: node then try
# If it shows up, it means due no some name conflicts
# the name/command node is already taken by some binary.
# So, its get it back.
$ sudo update-alternatives --install /usr/bin/node node /usr/bin/nodejs 10
Probable Issues: NPM not found