Skip to content

v2.0.0: Refactor to avoid computed side-effects

Latest
Compare
Choose a tag to compare
@craigrileyuk craigrileyuk released this 06 Mar 07:48
· 5 commits to main since this release

Version 2 of this composable/component is a complete refactor of the underlying code to avoid any side-effects inside either computed getters or render functions.

Breaking Changes

  • useSplitting now returns counts as a Reactive object rather than a Ref. Therefore, you no longer need to use counts.value.words to access values, just counts.words.
  • Code refactor could cause some unforeseen changes in output.