Memo: a notepad you can't edit

Just introduced a new app called memo to finalize my interop explorations with sample apps.

output

I think the interoperability makes these apps complementary as sample code:

  • Listable demonstrates remoteStorage.js in simplest possible form without a build system, yet /todos gives it some kind of practical use.
  • TodoMVC has a sophisticated interface on the same data and serves as an integration demo of minimal changes to make an existing app work with rs.js.
  • memo is conceptually simple and “does one thing”, but can model the structure for a more complete web app with: build system, offline via service worker + toast to update, hash-based routing, unit and UI tests, build for deployment as a static site — IMO the baseline of things that fit a seeming-native progressive web app that people can add to their phone.

It’s useful for testing to be able to CRUD between them, use todos-interop for observing sync, or Proof for seeing the raw JSON.

They share the same module “schema”, but the input/output is modified for app-specific considerations like expecting an id etc…

Hope this is step towards more interoperability between apps, or at least mine.