v4.0.0
Enhancements
- feat(core): Add
Obj
. - feat(core): Add
Signal
. - feat(core): Add
ReactterSignalProxy
mixin. - feat(core): Add
ReactterNotifyManager
mixin. - feat(core): Add
ReactterState
mixin. - refactor(core,hooks): Manage event separate from
UseEvent
hook. - perf(core): Improve to manage instances.
- perf(core): Improve to manage state.
- perf(widgets,core): Improve performance on
ReactterProvider
.
Now there is no need to useReactterComponent
orReactterBuilder
. The instance can be accessed directly from the context(BuildContext
) and just the part belonging to the context is re-built. - feat(widgets): Add
ReactterWatcher
.
You can use theSignal
variable inReactterWatcher
and react when it changed forReactterWatcher
's widgets rebuild.
Breaking
- refactor(core): Remove
typedef
innecesary. - refactor(hooks): Fix dispose of
UseContext
andUseEffect
. - build(widgets): Mark
ReactterScope
as deprecated. Use any Widget that exposes theBuildContext
likeBuild
,StatelessWidget
orStatefulWidget
instead. - build(widgets): Mark
listenHooks
andlistenAllHooks
as deprecated. UselistenStates
andlistenAll
instead. - refactor(widgets): Remove
onInit
fromReactteProvider
andReactterComponent
. - refactor(widget): Add
ReactterContext
argument inbuilder
ofReactterProvider
.
Fixes
- fix(core): Don't allow increasing listeners count, if event don't exist.
- fix(widgets): Clear previous signals saved.
- fix(core): Remove one callback using off method and was changed how to storage event.
Internal
- test: Refactor test and add event manager test.
- refactor(test): Fix test and add new tests.
- build(engine): Rename some files.
- refactor(test): Fix test and add
ReactterWatcher
test. - refactor(examples): Improve examples code and add calculator example.
- doc: Fix documentation and add new documentation.
- test(core,hooks): Fix dispose on some tests.
- refactor(examples): Do counter more simple.
Full Changelog: v3.2.0...v4.0.0