add default for properties /subs
Opened this issue · 3 comments
jimdebeer commented
essentially static properties next to the state prop -- very useful to have
{ default: '200px' }
for example
jimdebeer commented
very nice for jsx as well state.bla.compute() || 'dirty'
jimdebeer commented
will make it easier to not set defaults etc in the state
jimdebeer commented
this is a big new feature - lots of stuff going on -- idea is to make a mixed type for static things -- for now only go for properties