react-ast icon indicating copy to clipboard operation
react-ast copied to clipboard

render abstract syntax trees with react

Results 7 react-ast issues
Sort by recently updated
recently updated
newest added

Are there any starter kit or something to play with the generated AST? I'd thought that passing AST JSON through JMESPath will help in quicker code conversion. But, it looks...

Fixed donation link. Thanks for a nice project :)! Also I have a question, as I understand react-ast is a bit similar to [babel template](https://babeljs.io/docs/en/babel-template). I’m working on code transformer...

Not for lack of trying, but please help me understand how to declare async functions and use the await keyword. ps. Love this project, helping me get my head around...

Is there a way to run this library in the browser? Made quick example [codesandbox](https://codesandbox.io/s/dazzling-cookies-l3dt2?file=/src/App.tsx), but throws this error: `[["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["","=","in","instanceof"],[">>",">"],["+","-"],["*","/","%"],["**"]].entries is not a function or its return value is not...

I want to generate this code. notice the optional method paramter. ```typescript export class Client { constructor(axiosInstance?: AxiosInstance) { } } ``` This is my tsx: ```tsx ``` This code...

There is no `Literal` component, which I expected from that library. Tried to use Smart component: ```tsx ``` that gave totally unexpected output for me: `fn('a';);`

hi, it would be nice to add picture on readme. It will prevent some error on https://codejam.ninja/ .