[elm-discuss] Leaking event handlers with Elm SPA

2017-07-21 Thread Deedostar
Hi everyone, I have recently thought about how there is a chance in Elm to leak event handlers if they are not cleaned up properly. A basic scenario where this can happen is this: Assume an SPA made of React with some embedded Elm parts which uses subscriptions. Now navigate to a page, which

[elm-discuss] Leaking event handlers with Elm SPA

2017-07-21 Thread Deedostar
Hi everyone, I have recently thought about how there is a chance in Elm to leak event handlers if they are not cleaned up properly. A basic scenario where this can happen is this: Assume an SPA made of React with some embedded Elm parts which uses subscriptions. Now navigate to a page, which