ohanhi / elm-native-ui

[CLOSED] Experiment: mobile apps in Elm using React Native.
BSD 3-Clause "New" or "Revised" License
1.54k stars 75 forks source link

resets the react native event handlers so they are not continually added #10

Closed GTDev87 closed 8 years ago

GTDev87 commented 8 years ago

Resets localRuntime.ports._ReactNativeEventHandlers so it doesn't continually create more handlers.

I did it because when adding a timer to a project, the vtree continuously gets created so the number of handlers gets out of hand.

Thanks