Skip to content

React Native Stylesheets vs CSS-in-JSΒ #77

Description

@focus-bear-intern-review-bot

πŸ“Œ React Native Stylesheets vs CSS-in-JS

🎯 Goal

Learn how styling in React Native differs from traditional CSS and explore different styling approaches.


βœ… Why is this important?

Focus Bear uses React Native Stylesheets for consistent styling across components. Unlike web CSS, React Native does not support all standard CSS properties.


βœ… Tasks

  • Research the differences between React Native Stylesheets and standard CSS
  • Experiment with both StyleSheet.create() and inline styles
  • Explore how styling frameworks like @rneui/themed or react-native-paper work
  • Test responsiveness using built-in React Native utilities

βœ… Reflection (rn-styling.md)

  • Why does React Native use camelCase instead of traditional CSS properties?
  • What are the benefits of using StyleSheet.create() over inline styles?
  • How would you handle different screen sizes in React Native?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions