Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add default for properties /subs #177

Open
jimdebeer opened this issue Feb 22, 2017 · 3 comments
Open

add default for properties /subs #177

jimdebeer opened this issue Feb 22, 2017 · 3 comments

Comments

@jimdebeer
Copy link
Contributor

essentially static properties next to the state prop -- very useful to have

{ default: '200px' } for example

@jimdebeer
Copy link
Contributor Author

very nice for jsx as well state.bla.compute() || 'dirty'

@jimdebeer jimdebeer changed the title add default for properties add default for properties /subs Feb 25, 2017
@jimdebeer
Copy link
Contributor Author

will make it easier to not set defaults etc in the state

@jimdebeer
Copy link
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant