Join us as we talk with developers setting the React Native standards at Shopify. They’ll share more on how we write performant React Native apps.
Overview
The article discusses best practices and strategies for writing performant React Native applications at Shopify, featuring insights from key developers in the field. It covers topics such as debugging, layout management, testing, and CI/CD processes.
What You'll Learn
How to manage various screen sizes and responsive layouts in React Native
Why using flexible sizing improves UI adaptability
How to implement unit and integration tests using Jest
How to handle navigation in a Brownfield app with React Native
Prerequisites & Requirements
- Understanding of React Native fundamentals
- Familiarity with debugging and observability tools(optional)
Key Questions Answered
What best practices should be followed when building a React Native app?
How does Shopify handle crashes or bugs in React Native?
What approach does Shopify take for managing state between native and React Native?
What CI tools does Shopify use for managing builds?
Technologies & Tools
Some links below are affiliate links. We may earn a commission if you make a purchase.
Key Actionable Insights
1Utilize the Restyle library to define breakpoints for responsive designs in React Native applications.This approach allows developers to create adaptable UIs that cater to various device sizes, enhancing user experience across platforms.
2Implement Jest for unit and integration testing to ensure code quality and prevent regressions.Using Jest helps maintain a robust testing framework, allowing developers to catch issues early in the development cycle and improve overall application reliability.
3Adopt flexible sizing for UI components to improve adaptability across devices.By avoiding fixed sizes, developers can ensure that their applications provide a better user experience on different screen sizes, which is crucial in today's diverse device landscape.