-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Export createStructuredSelector #691
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
Conversation
Add `createStructuredSelector` to exported types as this allows not to install `reselect` manually
Deploy preview for redux-starter-kit-docs ready! Built with commit 532f608 https://deploy-preview-691--redux-starter-kit-docs.netlify.app |
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 532f608:
|
Guys, there seems to be a problem with latest TS version (on Travis - https://travis-ci.org/github/reduxjs/redux-toolkit/builds/717252824?utm_source=github_status&utm_medium=notification), but I don't think this is related to pull-request. Could you please take a look? |
Yeah, the fix for that is already included in #637 - just ignore it for now, it's the upcoming TS RC anyways ;) |
@phryneas ok :) could you please merge my PR then? |
Not gonna blindly merge and currently at work ;) Also, I'll wait what @markerikson has to say on this one. |
Appreciate the PR, but I'm actually going to say no to this one for now, for a couple reasons. We're not entirely trying to blindly re-export everything from the libs we depend on. Admittedly, we do re-export everything form the Redux core, but that's because this is a wrapper around that core. We re-export some stuff from Immer. I've never been keen on using Strictly speaking, you can probably get away with doing |
This is clear and understandable.
Your words, not mine. It's a library you're creating, right? So use-cases might differ. We use
Well, yes, but that would result in a hidden dependency. In case you would then decide to switch from In any case - thanks for creating a great library 👍 |
Add
createStructuredSelector
to exported types as this allows not to installreselect
manually