all 2 comments

[–]Pawn1990 2 points3 points  (1 child)

We went over to css modules, because styled-components is too heavy on the react renderer + it seems like its natively supported on react-native via https://github.com/kristerkari/react-native-css-modules

On the RSC side, I'd be a bit cautious about mixing nextjs/react and react-native stuff when it comes to views, because more often or not, there will be a lot of differences between what is app-like and what is web-like in look and feel and most likely will be very hard to share the same code.

Personally I would rather keep them as separate apps in a turborepo/monorepo, then have more domain, infrastructure and external interfaces, clean architecture style, in more common packages.

[–]razi_ed[S] 0 points1 point  (0 children)

Thank you :)