Question - Asking to learn
hi @dyatko thanks for making this project and sharing it.
I created https://github.com/imvetri/ui-editor where I built a concept tool that can generate component code from a minimal code and also I found a way to generate code from configuration. I mean, as an user, I'll design a component, design variants with interaction, it will generate code targeting a particular framework of choice, for concept I generated against reactJS's component syntax.
I'm trying to do a reverse of what I did earlier. Earlier concept saves component information in form of configuration, and generates code based on string manipulation. Now, I'm trying to find some inspiration or ideas or clues to scan a code base and reduce it down to configuration.
I came across your project and it is able to trace the function call flow. Do you have any ideas or suggestion on reducing a frontend code base down to configuration states of show / hide of different combination of component and its variants?