Skip to content

Add getReducer method to store #4139

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

Closed
wants to merge 1 commit into from
Closed

Add getReducer method to store #4139

wants to merge 1 commit into from

Conversation

smeng9
Copy link

@smeng9 smeng9 commented Jul 25, 2021


name: 🐛 Bug fix or new feature
about: Fixing a problem with Redux

PR Type

Does this PR add a new feature, or fix a bug?

New feature

Why should this PR be included?

Closes #4107

This PR wraps up the discussion in above and implements the feature for the use case

Checklist

  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Is there an existing issue for this PR?
  • Have the files been linted and formatted?
  • Have the docs been updated to match the changes in the PR?
  • Have the tests been updated to match the changes in the PR?
  • Have you run the tests locally to confirm they pass?

New Features

What new capabilities does this PR add?

Add getReducer method to store

What docs changes are needed to explain this?

Document the new method and the example use cases

Bug Fixes

What is the current behavior, and the steps to reproduce the issue?

What is the expected behavior?

How does this PR fix the problem?

@codesandbox-ci
Copy link

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 074d4ec:

Sandbox Source
Vanilla Configuration
Vanilla Typescript Configuration

@netlify
Copy link

netlify bot commented Jul 25, 2021

✔️ Deploy Preview for redux-docs ready!

🔨 Explore the source changes: 074d4ec

🔍 Inspect the deploy log: https://app.netlify.com/sites/redux-docs/deploys/60fcd3bc58a3f000075d4745

😎 Browse the preview: https://deploy-preview-4139--redux-docs.netlify.app

@timdorr
Copy link
Member

timdorr commented Jul 26, 2021

Thanks, but this isn't something we're going to add right now. We don't have a solid use case for it and you can get this information in other ways (by tracking your store instance elsewhere).

@timdorr timdorr closed this Jul 26, 2021
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.

Expose currentReducer from store through getReducer()
2 participants