In React, that means wrapping your app in a Starbeam context provider (normal reactivity, including resources, don't require a context provider in Starbeam, but services do).
In Preact, importing `@starbeam/preact` does all the work.
Starbeam 0.8 is out:
- Updated Resource API
- Universal Services
- Improved React Renderer
- New Preact Renderer
Docs:
- Demos now use Sandpack
- Code snippets now use Twoslash
Next up:
- Add Preact docs
- Vue renderer
- Plan Starbeam 1.0
The basic idea comes from Ember, which has had services for the better part of a decade.
Any Starbeam renderer that can express a concept of "current app" (via context, for example), can use fully reactive universal services written in Starbeam.
My talk on Starbeam at @thejsnation is happening now! The video isn't available yet, but you can poke around at the Starbeam org and docs!
https://t.co/RcBZLTnEKf
Starbeam is fun and simple reactivity that works in your existing framework.