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

Create selectors to retrieve search and hash #203

Merged
merged 2 commits into from
Jan 1, 2019
Merged

Create selectors to retrieve search and hash #203

merged 2 commits into from
Jan 1, 2019

Conversation

antgonzales
Copy link
Contributor

We can currently get the location and this action, this change adds the ability to retrieve the current search and hash.

@supasate
Copy link
Owner

LGTM!

@antgonzales, please rebase. There is a small change in a previous PR that made this lib tree-shakable.

@antgonzales
Copy link
Contributor Author

@supasate crap, I forgot to add Typescript support for these selectors. Let me push that up as well as the rebase. Thanks for the feedback!

We can currently get the location and this action, this change adds the
ability to retrieve the current search and hash.
Add getter types for:
getAction
getSearch
getHash
@antgonzales
Copy link
Contributor Author

@AnnaTsu @supasate ready for another round of reviews, I added some Typescript support that was missing as well. We had to add these definitions to our local development. It will be nice to be able to get rid of them.

@supasate
Copy link
Owner

Please add to src/immutable.js and src/seamless-immutable.js too. (It needs to be separated for tree-shakable.)

@supasate
Copy link
Owner

Hi @antgonzales, are you still working on this? If not, I'll merge first and add support for immutable and seamless-immutable in another PR.

@antgonzales
Copy link
Contributor Author

@supasate sorry haven't had the time over the holidays. Go ahead and merge and I'll do a fast follow this weekend.

@supasate supasate merged commit b7bc1ac into supasate:master Jan 1, 2019
@supasate
Copy link
Owner

supasate commented Jan 1, 2019

I already added them to immutable and seamless-immutable in #221.

@antgonzales antgonzales deleted the create-sub-selectors branch January 3, 2019 22:19
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.

3 participants