Closed felixakiragreen closed 8 years ago
I read through all the issues, but I'm not sure if they answer my question (I think this one is related https://github.com/zenparsing/es-function-bind/issues/15)
I’m binding ::this.onPressRow so it becomes this.onPressRow.bind(this)
::this.onPressRow
this.onPressRow.bind(this)
If I wanted this.onPressRow.bind(this, true) how would I format that using ::?
this.onPressRow.bind(this, true)
::
What you want are partially applied parameters which is still not entirely formalized
This proposal doesn't cover partially applied parameters.
I read through all the issues, but I'm not sure if they answer my question (I think this one is related https://github.com/zenparsing/es-function-bind/issues/15)
I’m binding
::this.onPressRow
so it becomesthis.onPressRow.bind(this)
If I wanted
this.onPressRow.bind(this, true)
how would I format that using::
?