I encountered an error trying to embed Elm 0.19 in a React app using this package. Changing embed to init seems to address the change.
Not sure if this project aims to target Elm 0.19. I know it would take some more changes, especially to the example project, but I figured I would call attention to the issue with this PR to get the ball rolling.
Commit and issue from upgrade to 0.18 for reference.
I encountered an error trying to embed Elm
0.19
in a React app using this package. Changingembed
toinit
seems to address the change.Not sure if this project aims to target Elm
0.19
. I know it would take some more changes, especially to the example project, but I figured I would call attention to the issue with this PR to get the ball rolling.Commit and issue from upgrade to
0.18
for reference.