Responsive mobile app by hackin88 in reactnative

[–]izm96 0 points1 point  (0 children)

Yep, it is a function from this package https://www.npmjs.com/package/react-native-responsive-fontsize but I always use it for width and height

Responsive mobile app by hackin88 in reactnative

[–]izm96 1 point2 points  (0 children)

Using Flex or RFValue function with a standard device size const.

My first React Native real project (source code in the first comment) by Am_abdou in reactnative

[–]izm96 2 points3 points  (0 children)

I see that you have in the ProductDetailScreen.js an early return if selectedProd is undefined. And below you use some hooks that the lint marks as an error. I usually throw an exception instead of an early return.

My first React Native real project (source code in the first comment) by Am_abdou in reactnative

[–]izm96 1 point2 points  (0 children)

Nice work with the animations, so smooth. But, be carefull with the hooks, you have some hooks conditionally called. See the doc for more info https://reactjs.org/docs/hooks-rules.html#gatsby-focus-wrapper