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 usecounts.value.words
to access values, justcounts.words
. - Code refactor could cause some unforeseen changes in output.