Conversation
|
This doesn't typecheck. Also, the handling of self-closing elements seems a bit ad-hoc. Why fold those but not regular multi-line opening tags? |
40810ea to
ada160b
Compare
|
Thank you for your valuable feedback! I apologize for the issues in the code - you're absolutely right about both the TypeScript errors and the inconsistent handling of different JSX tag types. I've addressed these concerns by:
Again, thank you for pointing out these issues - your feedback helped improve the quality of this implementation. |
8a40fc7 to
8664a94
Compare
8664a94 to
0e1c833
Compare
|
Oh, I see, I'm not talking to a person, but a language model. In that case I don't want your code, so I've pushed an alternative implementation (attached). Please don't submit AI-generated pull requests again. |
|
I'm sorry. Indeed the comment is generated by ai, I'm not confident about my English. Thanks a lot Haha. |
Add fold support for jsx element
jsx-folder.mp4