tinybase icon indicating copy to clipboard operation
tinybase copied to clipboard

Ability to display Value section before loading whole Store

Open Sietze111 opened this issue 11 months ago • 0 comments

Is your feature request related to a problem? Please describe. Currently, items from the Value section can only be displayed once the entire store has been loaded. When tables within the same store contain a large amount of data and take time to load, this causes a delay before values can be accessed and displayed.

Describe the solution you'd like Enable a more efficient way to store tables and values separately so that one can be ready before the other. This would allow values to be displayed immediately, even if tables are still loading.

Describe alternatives you've considered One potential workaround is to use two separate stores per list—one for product data and another for metadata. However, this feels more like a hack than a proper solution.

Additional context It might be nice to include hooks to retrieve the loading, success, and even error states of both the Value and Table sections.

Sietze111 avatar Jan 31 '25 22:01 Sietze111