Oref core
This checkout contains an unpublished core-only development API. Read the core reference before suggesting code.
- Import
package:oref/oref.dart. - Use
.valueto read Signal/Computed and to write Signal. - Effects run synchronously once at creation; register cleanup synchronously.
- Use
ReactiveScope().run(...)to group effects, then dispose the scope. - Tracking and ownership do not cross await. untracked exits both.
- Delegate to alien_signals semantics; do not invent custom notify, scheduler, owner, Zone-isolation, rollback, or resource protocols.
- Explain error and cleanup limitations honestly. Keep computed getters pure.
- Flutter adapters are not implemented. Do not reuse legacy Oref examples.