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

Dropdown DatePicker Receive Query #103

Closed
wants to merge 2 commits into from

Conversation

vanceism7
Copy link
Contributor

@vanceism7 vanceism7 commented Oct 30, 2019

What does this pull request do?

Adds a Receive query to the dropdown and date picker components.

How should this be manually tested?

Setting the input of these controls to some externally controlled state -- the components display values should update when the external state changes

Other Notes

I opted to just using H.put to update the state. These components have their state set entirely by input so this shouldn't break anything, but let me know if I'm off base on something here.

So that these components will automatically update when the inputs change
instead of requiring a query to manually set them
@davezuch
Copy link
Member

We used to have a Receive Query for both, and got rid of them. We got rid of the DatePicker's in #66 for performance reasons. We also added one in this commit, but got rid of it later, I think in these two commits. But you can read the discussion around why we can't have a Receiver for renderless components in #79.

@vanceism7 vanceism7 closed this Oct 30, 2019
@vanceism7 vanceism7 deleted the vjp/dropdown-datepicker-receive branch October 30, 2019 22:23
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

Successfully merging this pull request may close these issues.

2 participants