Bloomca / veles

UI library with main focus on performance
https://bloomca.github.io/veles/
MIT License
40 stars 0 forks source link

Better support for edge cases in `useValueIterator` #59

Open Bloomca opened 3 weeks ago

Bloomca commented 3 weeks ago

Description

There are some uncertain cases I am not 100% in their behaviour:

  1. what if you return null in one of the elements. At least indices will be wrong, but could be something else
  2. what if the array becomes of length 0? I don't think empty Fragments are supported properly, so will need to make sure it works correctly