brettkolodny / react-gleam

React bindings for Gleam
59 stars 2 forks source link

Update externals and depdencies #21

Open ajstrand opened 10 months ago

ajstrand commented 10 months ago

With the current version of Gleam(right now 0.31), react_gleam wasn't compiling.

I rewrote the external function calls and types to match the new syntax.

I also used the new local dependencies feature, however the import is tied to my specific project path in the gleam.toml file. I'm not sure how to make the path a generic string.

Also, I wasn't sure how to fix one of the examples, so that particular file is commented out right now.