That being said expo can do the same and gives you a nice framework but capicitor isn't bad either for this kind of use case. You just need to bring in more bits
imo it depends of one thing: do you already have (or want) a web version? if yes, capacitor and you reuse everything. if is mobile only, I think is better to go with expo, the native feel of lists/navigation is worth it
one tip for the blog part: save posts as markdown (or the editor JSON), not raw HTML. then on RN you render with react-native-markdown-display and only the editor screen needs a webview (10tap-editor is tiptap wrapped for RN). and test the editor with the keyboard on iOS early, that's usually where webview editors get annoying
for a blogging app i'd decide on the editor, crud is easy in either. rich text editors like tiptap or lexical just work in capacitor since it's a webview, where in react native a lot of the options wrap a webview anyway. only catch is apple can reject apps that feel like a repackaged website under 4.2, so you'd want it to feel like a proper app
2
u/East_Eye_2997 3d ago
I’d go with capacitor! One codebase for web and mobile is a huge win
2
u/davidbalbino 2d ago
imo it depends of one thing: do you already have (or want) a web version? if yes, capacitor and you reuse everything. if is mobile only, I think is better to go with expo, the native feel of lists/navigation is worth it
one tip for the blog part: save posts as markdown (or the editor JSON), not raw HTML. then on RN you render with react-native-markdown-display and only the editor screen needs a webview (10tap-editor is tiptap wrapped for RN). and test the editor with the keyboard on iOS early, that's usually where webview editors get annoying
1
u/darrenferneyhough 3d ago
for a blogging app i'd decide on the editor, crud is easy in either. rich text editors like tiptap or lexical just work in capacitor since it's a webview, where in react native a lot of the options wrap a webview anyway. only catch is apple can reject apps that feel like a repackaged website under 4.2, so you'd want it to feel like a proper app