Hi I am quite new to React and Flux, they work charmingly and really ease my work, but now I have this question bothered me for quite a while, say I have a list of file names that can turned grey in the state of unavailable.
I have done this by read the 'available' attribute inside child component:
{fileA : { available : true }, fileB : { available : false } } //data get from the Store
But Im quite uncomfortable with this as it makes my component assumes the data type in return ( that is should have a value which is a object type which shoud have an 'available' field)
Is there any other ways to achieve this in a more decoupled way or am I just making needlessly worry?