react-ast
react-ast copied to clipboard
Running in browser
Is there a way to run this library in the browser?
Made quick example codesandbox, but throws this error:
[["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].entries is not a function or its return value is not iterable
I think I would need to set it up to use babel-standalone https://babeljs.io/docs/en/babel-standalone.
I'm not sure exactly when I can get around to this, but pull requests are welcome.