@xmtp
1/ Use a local-first architecture to enable your app built with XMTP to perform at its best. π
‡
2/ Local-first architecture prioritizes using local storage on the device where the app is running. Storing data on device, rather than fetching it from a network, makes for a faster and more responsive app. ποΈ
3/ For XMTP, this means retrieving existing message data from the network and storing it locally. You can then load updates async, only when necessary.
4/ Setting this up used to be π: https://xmtp.org/blog/speed-and-privacy.
5/ Now, with the XMTP V3 SDKs, you can seamlessly implement a local-first architecture OOTB. The SDK automatically creates and manages a local DB for you. Learn more: https://xmtp.org/docs/build/local-first.
Your users will thank you. π±ππ