▲ | jitl 4 days ago | |
Ah, I understood "native application in some targets" to mean you're writing application code in languages other than JavaScript/TypeScript; not that sometimes you're React Native and sometimes you're Web/DOM but you're always TypeScript. Notion always* has a webview component, even in native apps, but we also have a substantial amount of "true native" Swift/Kotlin. We can't use Replicache/Zero today because our native code and our webview share the SQLite database and both need to be able to read and write the data there; if we use Replicache that would make our persisted data opaque bytes to Swift/Kotlin. *There's many screens of the Android/iOS app that are entirely native but the editor will probably remain a webview for a while yet. | ||
▲ | isaachinman 4 days ago | parent [-] | |
Yeah that makes sense for your use case. We're RN for web, mobile, and desktop, so it works smoothly for us. |