Have you ever wanted to generate a fake yet looking like real JSX tree for some testing purposes?
I faced the issue when I decided to work on a server-side renderer that works with React and understood that I need some fake components with either deep nesting or large number of children. Quick look-up on the internet yielded nothing so I decided to create a simple tool on my own.
It's easy to install, that is simply
yarn global add treeker or
npm i -g treeker, and easy to use. Please check with the readme in oleggromov/treeker repo.
And in case it helps you and/or you like the idea, give me a 👍 here r a ⭐️ on github and share your thoughts here in the comments.
Thanks for your time 🙏