krasimir / stent

Stent is combining the ideas of redux with the concept of state machines

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Connected React component is not reconnecting to the machine(s) on remount

illarionvk opened this issue · comments

The React connect helper connects the component to the machine only once at the time when the HoC is created.

The HoC disconnects from the machine(s) when it unmounts, but does not reconnect if we mount the same component again.

The issue was originally discovered by @SofianeDjellouli

Thanks. 8.0.1 released.