BigBinary Logo
BigBinary Logo
  • CLIENTS
  • SERVICES
  • BLOG
  • CAREERS
  • CONTACT
  • MORE
    BOOKS
    VIDEOS
    PODCAST
    PRESENTATIONS
  • CLIENTS
  • SERVICES
  • PRESENTATIONS
  • BLOG
  • CONTACT
  • VIDEOS
  • BOOKS

San Jose, USA

2066 N Capitol Ave #1117
San Jose, CA 95132

Pune, India

Office #803, 8th Floor, Tower 2
World Trade Center, Kharadi
Pune, Maharashtra 411014
India

hello@BigBinary.com

React Best Practices

Learn React best practices

1. Prefer Axios over fetch
  • Making a case for Axios
  • Why use Axios
  • Setup
  • Little things that matter
  • References
2. Logout on 401 Response
  • Use Axios interceptors
  • Intercept all requests
  • Listen to all responses
3. Sorting import statements
  • Sorting import statements
4. Use Class properties instead of declaring state in constructor
  • Using class properties instead of declaring state in constructor
5. Handling asynchronous code
  • Always use async/await instead of promise chains
  • Always use try/catch blocks with Async functions
6. Using React Children for composition
  • Using React Children for composition
7. Quick Ramda tips
  • Lens and over methods
  • Evolve method
8. Use Classnames Package while adding conditional classes
  • Use Classnames package while adding conditional classes
9. Structuring code
  • Project Structure
  • Component Structure
10. Create alias for commonly used directories
  • What is webpack alias
  • Why webpack alias
  • Creating alias
  • Updating import statements
11. Interesting reads
  • Elegant Javascript patterns
  • A primer on Javascript naming
  • Debounce and throttling
  • const vs let
  • Short React code snippets from the 30 seconds of code team
hello@BigBinary.com
  • Services
  • Ruby on Rails
  • React.js
  • Node.js
  • React Native
  • Workshops
  • Learn
  • BigBinary Academy
  • How Credit Card Processing Works
  • Handling Stripe Subscriptions
  • Learn Ruby on Rails Book
  • Conversation With API Builders
  • React Best Practices
  • Learn React Native
  • Learn Object Oriented Programming
  • Tidbits
  • How we work
  • Company
  • Presentations
  • Jobs
  • Wall of love
  • Contact
  • Blog
  • Videos
  • Podcast
  • Social
  • Twitter
  • Linkedin
  • YouTube
  • Github
  • Dribbble