Javier Chávarri

Results 174 comments of Javier Chávarri

Thanks for the help and guidance @bryphe ! I really appreciate it. 🙂 I'm documenting here the progress so it serves to arrange my thoughts, and maybe also helps in...

Thanks a ton @bryphe !! Your message is very encouraging because I was doing some work in parallel: https://github.com/revery-ui/reason-reactify/compare/master...jchavarri:starting-hooks?expand=1 And it seems both approaches are quite similar 🎉 as they're...

Hm... so, after more attempts in the `starting-hooks` branch, I'm not sure I know how to make this approach work with the first class modules. The challenge is that we...

@bryphe Thanks for all the feedback! It's really great to know there's room to explore, and that these proposals can be considered and might be ultimately used 🙂 @bryphe @cristianoc...

I got the continuation-passing style working in https://github.com/revery-ui/reason-reactify/pull/43 🎉 And I'm exploring a ppx in the [`hooks-ppx` branch](https://github.com/jchavarri/reason-reactify/compare/starting-hooks...jchavarri:hooks-ppx?expand=1#diff-21856b12e2e003b72d18252b0c523674R156). Very exciting! 😄 ![lethook](https://user-images.githubusercontent.com/220424/50554391-ddbaca00-0cb9-11e9-98f8-78e34a501911.gif)

To go back to this original issue (sorry to derail a bit from it 😅 ) I have been thinking how to prevent usages of hooks outside the render function....

@bryphe I wonder how this issue and the internal implementation of state would be affected by the idea discussed in https://github.com/revery-ui/reason-reactify/issues/39#issuecomment-450739762. If we pass the `use*` handlers to the callback...

> Figure out reconciliation when setting state after a call to `useReducer` @bryphe Regarding the above, I am investigating how to trigger a reconciliation after setting the state. Before, we...

> Introducing the new import syntax is just more confusing than anything, and doesn't solve any pain points. I strongly disagree with this. Writing bindings has historically been one of...

> There's no way all internal APIs can remain stable indefinitely But, for the "soupault as a library" use case, should they? I mean that, as a user, I would...