trivago / melody

Melody is a library for building JavaScript web applications.

Home Page:https://melody.js.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

createComponent with stateReducer prevents bindEvents

st-schneider opened this issue · comments

Explain the problem

If the stateReducer is added to createComponent I cannot enhance the component with bindevents anymore.

Expected Behaviour

Usage of stateReducer and bindEvents.

Actual Behaviour

No events are bound to the target.

Steps to reproduce

create a component with template and statereducers
add click bindevents
export the component to render it

Provide your Environment details

  • Node version: 9.3.0

  • Operating System: macOS 10.13.4

  • melody version: latest

Could you provide an example?