HNHacker News
TopNewBestAskShowJobs

codejamninja

25 karma · joined August 29, 2019

submissionscomments
codejamninja··on Show HN: Manage Dotfiles with Stow
I built dotstow as a simple way to combine 2 really great technologies, git and stow.
codejamninja··on Show HN: Manage Dotfiles with Stow
that’s the way everyone first tries it
codejamninja··on Show HN: Manage Dotfiles with Stow
looks like a great project, but it’s more complicated than dotstow
codejamninja··on Show HN: Render abstract syntax trees using React
Exactly :)
codejamninja··on Show HN: Render abstract syntax trees using React
The Code component would do a poor job at nesting code in a body. The point of this project is to make it easy to generate code through an AST, hence the <Code /> "catch call".
codejamninja··on Show HN: Render abstract syntax trees using React
Great feedback. The points you make are good. Listed below are the reasons I chose to go with react.

1. I'm getting my feet wet with React rendering (I will be building a full react renderer in the future for another project)

2. It may be useful in the future for dynamic code editing (not sure but a possible use case)

3. Though react really shines in the render lifecycle, it does provide a nice pattern for building components. I see this project being used as a way to componentize composable code generators and snippets.