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

Remove unnecessary state type casting in examples #217

Closed
bitpshr opened this issue Jun 1, 2017 · 0 comments
Closed

Remove unnecessary state type casting in examples #217

bitpshr opened this issue Jun 1, 2017 · 0 comments
Milestone

Comments

@bitpshr
Copy link
Member

bitpshr commented Jun 1, 2017

Enhancement

Earlier versions of widget-core required that state be type casted before being passed into child components. This should be removed from all component example pages.

Package Version: latest

Code

w(Button, {
	pressed: <boolean> this.state.buttonPressed
})
@dylans dylans added this to the 2017.06 milestone Jun 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants