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

Modification to docs/basics/Reducers to make imports more clear. This… #2142

Merged
merged 2 commits into from
Dec 9, 2016

Conversation

keepitreal
Copy link
Contributor

… should help reduce the need to scroll down to the completed code at the bottom of the file, as mentioned in #2107

This is to address the concerns mentioned in #2107. Specifically, I added some of the missing/assumed import statements into the Basics/Reducers section. If you read the rest of the issue, you'll notice that the original poster's problem has been solved.

… should help reduce the need to scroll down to the completed code at the bottom of the file, as mentioned in reduxjs#2107
Copy link
Member

@timdorr timdorr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just remove that one section. The rest looks good.

```

Now we can test our action type for `SET_VISIBILITY_FILTER` and return new, modified state accordingly.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are isolated example bits of code. So imports aren't needed.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool. Updated here.

@timdorr
Copy link
Member

timdorr commented Dec 9, 2016

Thanks!

@timdorr timdorr merged commit dbf370e into reduxjs:master Dec 9, 2016
@keepitreal
Copy link
Contributor Author

Cool. We should be able to close 2107.

seantcoyote pushed a commit to seantcoyote/redux that referenced this pull request Jan 14, 2018
reduxjs#2142)

* Modification to docs/basics/Reducers to make imports more clear. This should help reduce the need to scroll down to the completed code at the bottom of the file, as mentioned in reduxjs#2107

* Removed instructions on importing SET_VISIBILITY_FILTER
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