fix: no more crashing when scrolling to the end of grid (#5)
fixes an issue introduced in #2. before that PR, Cell would render null if
we got an index that's out of range, but we moved that for rules-of-hooks
reasons, so that `if` no longer did anything useful.
well, it turns out that getting an index that's out of range is a
regular occurence in FixedSizeGrid, because it doesn't actually know
how many items we want to render, just the columns x rows dimensions.
so this ended up causing a lot of crashes if you scrolled to the end.
authored by