re: Tutorial: How to share code between iOS, Android & Web using React Native, react-native-web and monorepo VIEW POST

re: I want to discuss something we are facing after getting a great kickstart from this post. That is responsiveness problem. We have made significant...

I have a custom hook that checks the app dimensions and returns if it’s small/medium/large:

Besides that, make sure to always use flexbox and percentages where makes sense, not fixed widths in pixels.


Yeah similar approach with HOC for class components. I actually just released a small RN component for this(actually my first npm package).

code of conduct - report abuse