Hey guys!
I'm sitting with a freshly installed create-react-app which I've converted to Preact with the simple steps. I get this weird issue when compiling my jsx files with Preact, and can't really find the root of cause.
My Index.jsx
import { h, render } from 'preact';
import registerServiceWorker from './utilities/registerServiceWorker';
render(
<div className="app">
<p className="app-intro">
To get started, edit <code>src/App.js</code> and save to reload.
</p>
</div>,
document.getElementById('root')
);
registerServiceWorker();
The compiled HTML file
<div class="app" __source="[object Object]" __self="[object Object]">
<button class="app-intro" __source="[object Object]" __self="[object Object]">
To get started, edit <code __source="[object Object]" __self="[object Object]">src/App.js</code> and save to reload.
</button>
>
Does anybody have an idea of what might could be the problem?
Hey guys!
I'm sitting with a freshly installed create-react-app which I've converted to Preact with the simple steps. I get this weird issue when compiling my jsx files with Preact, and can't really find the root of cause.
My Index.jsx
The compiled HTML file
Does anybody have an idea of what might could be the problem?