Skip to content

Conversation

@bvaughn
Copy link
Contributor

@bvaughn bvaughn commented Nov 9, 2018

I don't think our example should show a reducer that potentially has an undefined return value, since this isn't supported. I wasn't sure whether to return state as-is or throw in the example, so I opted for an inline comment. Happy to change it. Suggestions?

@reactjs-bot
Copy link

Deploy preview for reactjs ready!

Built with commit ceb2c60

https://deploy-preview-1386--reactjs.netlify.com

@bvaughn bvaughn merged commit 3bf9950 into master Nov 9, 2018
@bvaughn bvaughn deleted the useReducer-example branch November 9, 2018 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants