Closed cowboyd closed 8 years ago
How do we handle getting the length of records ie
state.records.length
We have state.totalSize
which has never been implemented
put the length
property right on state. This is the only eager calculation.
state.records
will cease to exist.
Ticket description was updated to reflect using state.length
instead of state.records.length
@cowboyd can i get a review on #10 please
Instead of:
we let you look up the record directly off of the state:
That way we can be lazy about materializing the record array instead of doing it every time.
state.records
then goes away