I am just looking at this but quick question. Is there an example for building a local-first app? Also, I working with plain vanilla HTML & JS and Alpine. Can this be used in my apps?
I just noticed that if you install the example service after setting up an account, it installs a version of @y-sweet/react which doesn't offer the offlineSupport prop.
The version specified is ^0.5.1. After switching to 0.7.1 as the repo you linked uses, all is well. Probably not a big deal for most newcomers, but it might be worth updating dependencies in the example service.
I built https://1pg.notion.lol/ to launch my blog powered by notion. I hated the entire process of copying and pasting and maintaining two copies.
I do all my work for all other project in Notion and find it very difficult and irritating to switch apps.
I am still building this, so would love to chat and get any inputs (incl. your additional use-cases) if you are up for it! Will ping you if that's ok, LMK
If you don't use the "convert" feature, you can download the pure HTML directly by clicking on the three dots in the menu bar, on the right side. (No JS though, because we handle the interactivity / state management in React, and candidly haven't found a good way to convert the React to HTML.)
reply