Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I've built a very similar contraption, but without any libraries because I got annoyed at having to relearn a new kind of React after react class components got out of fashion and people started using hooks. I built it out of raw JavaScript and a raw python socket server.

How do you manage sync? Mine is a WebApp so I use indexedDB, and that's nice so that it works on my computer browser, but I don't want multiple tab synchronization on my phone and it's tricky to handle. I've built something that works, but I'd love to explore other designs.

You said React Native, so there might be a regular app sort of data store to disk.



I use watermelonDB for offline-first sync. It’s pretty wonderful.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: