Typesafe <Show> only when store has data
the end result I want
I've tried various things like
re assigning store to previous declarations
the easy way around this is to create store type object of just empty values until the real values come, but that just seems lame :
I've tried various things like
createStore<StoreType | {}>({}); -> results in ts errors X doesn't exist on {}re assigning store to previous declarations
the easy way around this is to create store type object of just empty values until the real values come, but that just seems lame :
