Pomax / socketless

A framework and methodology for writing web socket RPC programs, without writing a single line of web socket or RPC code.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Release v1.0.0

Pomax opened this issue · comments

commented

v0.11.5 is effectively rc1, so releasing a v1.0.0 feels like the sensible next step.

  • try to use rfc6902 without jsonpatch now that it has a dist dir with a browser lib (shave off ~250kb of further dependencies)
  • make minimal example show a full server + client + webclient
  • highlight various webclient implementations: vanilla, react... vue? angular?
  • ???

post v1.0.0

  • see if create-web-client can be made to accept non-namespaces functions - otherwise document the fact that for web clients, you need namespacing
commented

jsonpatch is gone. The total on-disk footprint is now ~660KB, ~150 of which is the demo code.

We could clean this up even more by invasively removing files from the node_modules dir, but that's really not a good idea at all.

I could put some of the dependencies into a static asset dir, which would bring the total size down to ~360KB rather than ~660KB... It's very tempting, although I'm not sure how that would go together with keeping dependencies up to date.

commented

I added the demo dir to the .npmignore so now it's a 500KB total install. I'm ... okay with that I guess.

full rewrite, v1 released.