Comments (8)
Hmmm, the README.md already has an example. Could you direct me in how to improve it? Could you clarify what you mean by "visual" example?
from react-ast.
Hmmm, then I was mislead by the title: I feel that "render" is usually associated with creating an image from a specification, so I expected a visual representation of the AST (maybe graphviz or something like that). But you render the AST to text, which is a bit confusing.
I don't have a clear improvement in mind, but on a quick glance, the readme is a bit confusing.
from react-ast.
No it actually renders AST and optionally renders the rendered AST to text. Look at the second example.
from react-ast.
Your second example doesn't have an image, I don't see what it does:
from react-ast.
No, there should be an AST tree there. I can paste an example but it would be huge. Maybe I'll put a small sample of the data it renders.
It's not a renderer that renders a UI. It renders an AST tree and optionally text from the AST tree. It's a bit confusing because it's a brand new concept. A concept that's only 12 hours old 😆
It is however by definition a true react renderer.
from react-ast.
I think a screenshot here would be very helpful, it's hard to grasp your 12h-old concept from just this text description :)
from react-ast.
Yeah, I definitely agree. I added a better example. I really appreciate the feedback.
from react-ast.
You can paste the example rendered code at astexplorer.net and you will see it matches the rendered AST.
from react-ast.
Related Issues (8)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-ast.