Skip to content

Release version 0.0.8

Compare
Choose a tag to compare
@Bloomca Bloomca released this 11 Jun 18:35
· 9 commits to main since this release

What's Changed

This is a pretty big release which changes the underlying rendering engine to be a 2 step process instead of one. While it makes it ~20% slower, it allows for Context and it is too important of a feature to not to have it.

If while working on the example app I decide that the performance hit is too big, I might revert the changes, but the library focuses on 2 things: performance and composability, so I am okay with small compromises. At the end of the day, updates are still granular, so a small performance hit should not be too hard in theory.

  • handle boolean DOM attributes correctly by @Bloomca in #51
  • allow dynamic adding and removing event listeners by @Bloomca in #52
  • call unmount callbacks on entire Veles app removal by @Bloomca in #53
  • allow to return useValue/useValueSelector directly from components by @Bloomca in #54
  • fix incorrect unmount behaviour with useValue logic by @Bloomca in #56
  • Use value activate onmount by @Bloomca in #57
  • do not track attributes value until mounted by @Bloomca in #58
  • useValueIterator subscribes only on mount by @Bloomca in #60
  • Fix mount state subscriptions check by @Bloomca in #61
  • change rendering approach by @Bloomca in #62
  • Add Context support

Full Changelog: 0.0.7...0.0.8