-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
When using val+React 16 and the new fragments I get an error.
/** @jsx h */
import h from '../../app/react';
import React, {PureComponent} from 'react';
export default class MyComponent extends PureComponent {
render() {
return (
<React.Fragment>
...
</React.Fragment>
);
}
}
Warning: Invalid prop `dangerouslySetInnerHTML` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.
in React.Fragment (created by MyComponent)
in MyComponent
When I remove the @jsx
and h
created by @skatejs/val
it starts working again.
AndyOGo
Metadata
Metadata
Assignees
Labels
No labels