Maarten Hus
Maarten Hus
Note that rendering the following: ```js render(Hello world!) ``` Also gives a strange result: Click to expand! ``` Object { "__reactFiber$i1nwtx4a2xk": FiberNode { "_debugHookTypes": null, "_debugNeedsRemount": false, "_debugOwner": FiberNode {...
There is a function called `createReactComponent` inside Ionic React, it does the following: ```js /** * We use createElement here instead of * React.createElement to work around a * bug...
Downgrading to https://github.com/ionic-team/ionic-framework/releases/tag/v6.0.1 causes the problem to go away. This is because this version lies before this change / pull request: https://github.com/ionic-team/ionic-framework/pull/24515 Which was created because of this issue: https://github.com/ionic-team/ionic-framework/issues/24229...
> Codecov fails, but I think it is still reasonable. What do you think? Good idea to support a render function. Two things: 1. The test coverage should be 100%...
> Can you elaborate what you mean by the `children` prop? @ffMathy That we support both: render and children render function props: ```tsx {mode} ``` ```tsx { mode => {mode}
Can you elaborate a little more on the use case for this PR with an example?