Greg Littlefield
Greg Littlefield
So sorry for the delayed response @jhochman; I should really check back on the issues page more frequently. There's not currently an established pattern for exposing react-dart components for use...
Yes, it is possible to use JavaScript React components, though it's not very straightforward at this time... We can use this issue to track the documentation/support around that. There was...
Sorry for the delay! I blame the holidays 😄. Got together a PR to add support and an example for using JS components with react-dart: https://github.com/cleandart/react-dart/pull/112. A couple tests to...
> 2 is a good point... Seems like we'd need a major to roll it out if we wanted to be sure to avoid build failures Yeah 😕. Would you...
Oh, one thing I forgot to mention is that React doesn't rerender a component if it's the same ReactElement in the same place in the tree, whereas if you have...
> Unfortunately this doesn't work if those different declarations need to interact and type-check at all. In my case they do, so that was the impetus behind finding a home...
Were you perhaps running into behavior where a dynamic-returning function wasn't a `ReactElement Function()`? For example: ```dart void main() { dynamic dynamicReturn() {} int intReturn() => 1; print(dynamicReturn is dynamic...
@AAllport I have some time to do a little more work on that, will let you know how far I get!
I did some more work, and I'm getting pretty close to wrapping up the implementation and starting tests! See [the issue](https://youtrack.jetbrains.com/issue/WEB-33823#focus=streamItem-27-4166354.0-0) for updates and a screenshot of the behavior I...
I haven't had time to work more on this, sorry for not giving an update... but someone is more than welcome to pick up the work in my branch. For...