This repository was archived by the owner on Jul 19, 2019. It is now read-only.
This repository was archived by the owner on Jul 19, 2019. It is now read-only.
react-php-v8js with React 16.1.1 #34
Open
Description
Does react-php-v8js work with the newer version of react?
When I try to make it work with 16.1.1 and following code:
class Table extends React.Component {
constructor(props) {
super(props);
}
render() {
var rows = this.props.data.map(function (row) {
var cells = row.map(function(cell) {
return <td>{cell}</td>;
});
return <tr>{cells}</tr>;
});
return (
<table>
<tbody>{rows}</tbody>
</table>
);
}
}
I get this Error:
V8Js::compileString():1007: TypeError: Super expression must either be null or a function, not undefined
Metadata
Metadata
Assignees
Labels
No labels