Encounter this error with very basic implementation of ace. I installed ace using
npm i react-ace
I tried the solution given in issue #357, but still no luck.
once, I start the development server with npm start, and open it on moziila it gives me this error. The weired thing is, if save the jsx file again while the development server is running, the error disappear. If i reload, the web page, error appear again.
In Edge and chrome, error blink for while and then disappear.
I don't understand this error is with ace or babel?
Sample code to reproduce your issue
import AceEditor from 'react-ace'
function Editor() {
return (
<div>
<AceEditor></AceEditor>
</div>
)
}
export default Editor
Problem
expected expression, got '<'
Encounter this error with very basic implementation of ace. I installed ace using
npm i react-ace
I tried the solution given in issue #357, but still no luck.
once, I start the development server with
npm start
, and open it on moziila it gives me this error. The weired thing is, if save the jsx file again while the development server is running, the error disappear. If i reload, the web page, error appear again.In Edge and chrome, error blink for while and then disappear.
I don't understand this error is with ace or babel?
Sample code to reproduce your issue
References
Progress on: #