frhooks 1.2.7 copy "frhooks: ^1.2.7" to clipboard
frhooks: ^1.2.7 copied to clipboard

outdated

use react like hooks in flutter!

1.0.0 #

  • Initial version, created by Stagehand

1.2.0 #

fix: update can rebuild widget correctly.

  • refactor:HookElement now extends from ComponentElementStatelessElement
  • refactor: HookWidget now extends from ~Widget~StatelessWidget

1.2.2 #

feature: useMemo receive a thunk to lazy compute.

1.2.3 #

feature: hotload will reset hook in Element.

1.2.4 #

fix: reassemble will clear effect.

1.2.5 #

feature: if you insert or remove a hook in your build method, frhooks will rerun the build method and drop the memorized state.

1.2.6 #

fix: frhooks can rerun your hooks correctly after insert or remove one hook.

1.2.7 #

fix: use addPostFrameCallback instead of manual calling didBuild in build.

2
likes
0
points
168
downloads

Publisher

unverified uploader

Weekly Downloads

use react like hooks in flutter!

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on frhooks