Dan Romero
@dwr.eth
Post-Warpcast announcement AMA!
30 replies
0 recast
0 reaction
Alex Loukissas π
@futureartist
Are you sticking with RN for mobile apps?
1 reply
0 recast
0 reaction
Dan Romero
@dwr.eth
Yes. All of the clients β mobile, desktop and now web are in a monorepo architected by the one and only @nickcherry
4 replies
0 recast
0 reaction
Alex π€
@reyes
How does this work @nickcherry? How is all the code shared across RN & react when they have slightly different APIs?
1 reply
0 recast
0 reaction
Nick Cherry
@nickcherry
We only share code that's runtime agnostic β an API client, stateful hooks to wrap API calls + manage caching, an abstract cryptography API (the actual implementations for RN vs desktop/web live in separate packages), Typescript + ESLint configs.
1 reply
0 recast
0 reaction
Nick Cherry
@nickcherry
We avoid sharing any UI-related code, for the reason you alluded to but also just because mobile + desktop interfaces tend to be different enough that it doesn't always make sense to share even if there weren't the platform differences to deal with.
0 reply
0 recast
0 reaction