Unless I'm missing something, Files has no props to remove files internally. Code I see in the demo manages wrapper state (which is good enough for UI), but for Files to manage count and size, it should update internally. Otherwise, the wrapper will now need to keep track of count and size after a removal.
Thanks @msucorey, the state management aspect of this library is being simplified in version 3. Feel free to install 3.0.0-alpha.3 and check out #32 for the latest progress.
Unless I'm missing something, Files has no props to remove files internally. Code I see in the demo manages wrapper state (which is good enough for UI), but for Files to manage count and size, it should update internally. Otherwise, the wrapper will now need to keep track of count and size after a removal.