-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why return strings are iterators? #7
Comments
I wrote about why here: https://github.com/dodoas/stringjsx/blob/11b6d223afcdff35359c5130ebdf0e60f7edba40/misc/typescript_string.md I understand why you're saying it breaks the API but this fork was made for interacting with To summarize this fork returns I also knew it would break some code (it did for us, we had to put some Perhaps this information should be more prominent in the README? I'm also curious what is breaking for you? The browsers themselves don't care whether you pass |
Thanks for the explanation, the reason why it was breaking for me because I don't use |
Any reason why output strings are also iterators? Why can't they just be normal JavaScript Strings?
This breaks the API of vhtml.
This is the output I've got when I console log the output:
It looks more like a String instance with additional properties, and not actually a string.
The text was updated successfully, but these errors were encountered: