-
Notifications
You must be signed in to change notification settings - Fork 49.8k
Description
Do you want to request a feature or report a bug?
bug?
What is the current behavior?
When switching from v15.6.1's development into production mode, the in the examples below defined curried onBlur handler suddenly stops working. It seems to have something to do with the number of arguments.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://jsfiddle.net or similar (template: https://jsfiddle.net/84v837e9/).
React v15.6.1 (production, partially working)
http://jsfiddle.net/axc28sfq/
React v15.6.1 (development, fully working)
http://jsfiddle.net/z0mp7gv5/
React v15.1.0 (production, fully working - also works fine in development mode)
http://jsfiddle.net/85w1uL3f/
React v16.0.0-alpha.13 (development, partially working)
https://jsfiddle.net/z0fystqx/
What is the expected behavior?
Whatever the correct usage of the handler function might be in the end, at least the behavior should stay the same across the different build modes?
Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?
This was working fine with v15.1.0 (development and production).