react-ast

render abstract syntax trees with react (by clayrisser)

React-ast Alternatives

Similar projects and alternatives to react-ast

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better react-ast alternative or higher similarity.

react-ast reviews and mentions

Posts with mentions or reviews of react-ast. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-06-15.
  • Utopia, a visual design tool for React, with code as the source of truth
    4 projects | news.ycombinator.com | 15 Jun 2021
    I was planning on building something similar. My first attempt involved trying to get grapesjs to work with react. This attempt was very cumbersome because grapesjs generated html, and I would try to manipulate the html into react.

    https://github.com/artf/grapesjs

    Later however, I discovered craft.js, which is basically a framework for creating systems similar to this (page/component editors). Craft.js was inspired by grapesjs, but is specifically made for react.

    https://github.com/prevwong/craft.js

    Of course craft.js only solves the UI editor, not the code parsing/generation part. Babel is an obvious choice for code generation/manipulation, but I found its imperative approach unnecessarily complicated, so I built react-ast to enable declarative and composable code generation using react.

    https://github.com/clayrisser/react-ast

    The part I had not figured out was using the code as the source of truth for the editor and syncing it back. I definitely thought about it a lot, but postponed solving it since I had more pressing problems.

    So, I have a lot of curiosity about this project. How does it work? And how does it stack up against a technology like craft.js? I noticed it’s not using craft.js, so I’m guessing the developers rolled their own equivalent.

Stats

Basic react-ast repo stats
1
310
8.9
3 months ago

clayrisser/react-ast is an open source project licensed under Apache License 2.0 which is an OSI approved license.

The primary programming language of react-ast is TypeScript.

The modern identity platform for B2B SaaS
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
workos.com