fcortina
4 Sep 2018, 12:00 AM
I'm trying to upgrade an app from ExtReact 6.5.x to ExtReact 6.6, but it looks like it does not work with "normal" React components anymore.
The main component in my app is wrapped by a decorative React component that does not use ExtReact.
First I tried to wrap everything with the <ExtReact> component:
launch((
<ExtReact>
<MyContainer>
<App/>
</MyContainer>
</ExtReact>
));
The parent container is rendered, but nothing else. ExtReact component are not "reactified".
If I only wrap the main ExtReact component:
launch((
<MyContainer>
<ExtReact>
<App/>
</ExtReact>
</MyContainer>
));
Then the content is rendered on top of the parent container!
I could probably fix that with CSS, but I think this is only a symptom of a large bug, or design flaw. Everywhere I mix ExtReact components with normal React components (cell renderer) everything breaks.
I've created a very simple app that shows the problem:
https://github.com/freongrr/ext-react-66-does-not-work
Same code works with ExtReact 6.5 and React 15:
https://github.com/freongrr/ext-react-66-does-not-work/tree/React-15-and-ExtReact-6.5
The main component in my app is wrapped by a decorative React component that does not use ExtReact.
First I tried to wrap everything with the <ExtReact> component:
launch((
<ExtReact>
<MyContainer>
<App/>
</MyContainer>
</ExtReact>
));
The parent container is rendered, but nothing else. ExtReact component are not "reactified".
If I only wrap the main ExtReact component:
launch((
<MyContainer>
<ExtReact>
<App/>
</ExtReact>
</MyContainer>
));
Then the content is rendered on top of the parent container!
I could probably fix that with CSS, but I think this is only a symptom of a large bug, or design flaw. Everywhere I mix ExtReact components with normal React components (cell renderer) everything breaks.
I've created a very simple app that shows the problem:
https://github.com/freongrr/ext-react-66-does-not-work
Same code works with ExtReact 6.5 and React 15:
https://github.com/freongrr/ext-react-66-does-not-work/tree/React-15-and-ExtReact-6.5