Skip to content

Releases: ryupold/vode

1.8.12

25 May 14:23

Choose a tag to compare

  • fix: mergeClass with (1. object, 2. array)

1.8.11

25 May 11:23

Choose a tag to compare

  • feat: allow for async patches to be awaited by optionally returning a Promise

1.8.10

24 May 12:19

Choose a tag to compare

  • make patch function syncronous
    • it branches off to promises when necessary. this should result in a slight performance improvement
  • allow prop definitons to be falsy
    • makes writing conditional literals easier like: [DIV, condition && { class: 'xyz' }]

1.8.9

21 May 21:06

Choose a tag to compare

  • fix: ensure all queued state updates are reliably processed, even during ongoing renders
  • test: add test suite as esm build

1.8.8

19 May 16:18

Choose a tag to compare

  • fix: improve child rendering performance
  • fix: bug when a component function was reused in multiple memos
  • fix: setting an intermediate path to null via state context
  • fix: measure time with performance api
  • remove ability to memo prop objects as this could lead to undecidable situations during rendering
  • update documentation and add more tests showing advanced features

1.8.7

16 May 22:50

Choose a tag to compare

  • fix: rework onMount/onUnmount lifecycle
  • fix: nested memo calls with unmount handlers

1.8.6

16 May 13:47

Choose a tag to compare

  • fix: execute onUnmount reliably (symmetric to onMount)
  • fix: in certain situations onMount was called multiple times in initial render

1.8.5

14 May 19:46

Choose a tag to compare

  • fix: allow higher order component functions to use memo

1.8.4

08 May 18:18

Choose a tag to compare

  • fix state-context passing arrays as sub-state

1.8.3

05 May 00:40

Choose a tag to compare

  • state-context: removes the need to constantly unwrap the substate value if its type cannot be undefined|null
  • in Props<S> S now defaults to PatchableState
  • catch property in Props now expects an Error type instead of any