Skip to content
Axioned Handbook
Search
Ctrl
K
Cancel
GitHub
LinkedIn
Instagram
Twitter
Select theme
Dark
Light
Auto
Welcome
Playbook
Culture
Core Values
WOW
Communication
Guiding principles
Working in a team
Debugging
Change management flow
Guidelines for Time tracking
Nominating for MVP Awards
Onboarding yourself
Learning
CSS
Training Template
Code Review Checklist
Git
Training Template
Code Review Checklist
HTML
Training Template
Code Review Checklist
Javascript
Training Template
Code Review Checklist
Node
Training Template
Code Review Checklist
PHP
Training Template
Code Review Checklist
Project Management
Guide
Project Environment
Communication Guidelines
Training Template
Estimation Process
Kick-off Call
React
Training Template
Code Review Checklist
React Native
Training Template
Code Review Checklist
SASS
Training Template
Code Review Checklist
WordPress
Training Template
Code Review Checklist
Processes
Base Setup
Analytics
Google Analytics
Backup
WP Engine
Coding standards
SonarQube
WordPress
Delivery
Continous
github-action
WordPress GitHub Actions
Managed
AWS Amplify
Gh Pages
Netlify
Phased
Go Live
Regression
Self QA
Guidelines
WordPress
Handover
New members
Observability
GitHub Notifications
Sentry.io
Performance
Improving Core Web Vitals
Measuring Core Web Vitals
Performance Self-Audit
Provisioning
AWS Cloud Information
Wordpress
WIP
Security
Approved VPNs for Secure Access
Data Security
Dependabot for module updates
Generative AI Guidelines
Security Self-Audit
Source control and Promotion
Axioned Hosted
Client Managed
Code Promotion
Inheriting
Testing
Overview
Playwright Setup
Test Automation
Toolkit
VS Code
WP-CLI
Roadmap
Technology
Tools
Design
Brand Guidelines
Working at Axioned
Benefits and Perks
Glossary
Contribute
GitHub
LinkedIn
Instagram
Twitter
Select theme
Dark
Light
Auto
React Native Code Review Checklist
Checklist
Sr No.
Check
1
Folder Structure
All the components, globals, images, redux etc.. Should be written inside the src folder
Images should be there in the images folder under the src folder.
Redux files should be written inside the store folder under the src folder
You can create stack navigator file inside navigation folder under src
2
Naming Conventions
A folder and sub folder name should always start with small letters and the files belongs the folders is always in pascal case.
Object and variable declaration should always in camel case statement.
3
Best Practices
Divide The Components (split the React Native components into two individual directories: container and plain components)
Declare The Types: It can either be Flow or Typescript
Separate the styles from the components.
Remove console.log() after debugging, It will make app slower.
Create aliases using babel-plugin-module-resolver to avoid nested imports
Use Hooks (avoid class based component)
Use Redux for for the store state (Avoid unnecessary use of redux)
Add fastlane set up for automate development and build release process
Use Platform specific styles.
Alway assign unique key to each element.
create class component when we have to use state otherwise we should use functional component
Use spread operator. It can make your React code much more beautiful and clean
write your api calls within the useEffect for hooks / write your api calls withing the componentDidMount for class component.
Always implement as much client validation as possible at front end level
make sure that the app you are building is responsive
DO use Safe Area View to look good on every iOS device
Use a linter to make your code easier to review.
Lock Dependencies(remove the ^ character in order to lock the dependency on that specific version)
Review your code at least once before creating a pull or merge request
Check internet connectivity for a better user experience