This PR consolidates the conversion functions, as well as the effects into one function (as they were reusing most of it). Also solves the conversion from the effects returned value so the "unmount effect" is called too. Fixes #15.
@benschinn Merging this so it can be used for any other future effects work :) but please let me know if you see anything outstanding that should be taken care of, thanks!
This PR consolidates the conversion functions, as well as the effects into one function (as they were reusing most of it). Also solves the conversion from the effects returned value so the "unmount effect" is called too. Fixes #15.
@benschinn Merging this so it can be used for any other future effects work :) but please let me know if you see anything outstanding that should be taken care of, thanks!