-
https://www.youtube.com/watch?v=34BnRBt8wOU&ab_channel=TraversyMedia
-
https://www.youtube.com/watch?v=EFf9jBs2yfU&ab_channel=SatoriGraphics
-
https://www.youtube.com/watch?v=C1rQQ_YpgcI&ab_channel=TheFuturAcademy
-
https://www.youtube.com/watch?v=6Q4KVKaVv9s&ab_channel=DevEd
-
https://www.youtube.com/watch?v=G46m8wrXkTk&ab_channel=AdrianTwarog
- https://medium.com/@immily/sampe-of-git-workflow-for-small-team-6d5836b9b7ce
- https://deepsource.io/blog/git-best-practices/
- Commit early, commit often. The commit message must be descriptive and meaningful
- Don’t git push straight to main. Branch it out!
git checkout -b your-awesome-feature develop
<work on that branch>
git add *
git commit -m 'a meaningful commit'
git push
<once the feature is complete make a pull request (pr)>
someone will review the code and merge it to the master branch
NEVER DIRECTLY MERGE TO MASTER
Assuming you're fine with taking all of the changes in master, what you want is:
git checkout <my branch>
to switch the working tree to your branch; then:
git pull
to pull all the changes
- UI component’s names and variable names should be CamelCase
Example: LoginScreen.js
- Avoid Inline CSS as and when possible
- Be generous with comments
- Name your files logically according to the job that they perform
- Use a linter to make your code easier to review. Follow strict linting rules.
- While pushing to
- File- and component name need to be identical.
- Only include one React component per file.
// bad
<Foo className="stuff"></Foo>
// good
<Foo className="stuff" />
https://medium.com/@navitasinghal77/react-coding-standards-and-practices-3b133bcaea8