Lusito
Lusito
The issue remains. The jsx syntax can only return one specified type. That is currently HTMLElement. DocumentFragment does not inherit from HTMLElement. Both inherit from Node, but returning Node for...
See: https://github.com/microsoft/TypeScript/issues/14729
The other libs have their own render methods (i.e. you don't do appendChild, but their method does it for you. prototype polution is an anti-pattern and I won't use it....
Well, either wait for typescript to support this scenario or create a hacky solution. tsx-dom is not a virtual-dom library like react, preact, etc. So it does not manage those...
Sounds like a good idea. Could even add extra documentation notes based on this.
I agree.. this was more of a temporary thing, as I hadn't had the time to figure out the best place for it. Maybe this is something for the sidebar...
Good point, I didn't think about this. The local storage option does sound like a good option for this. However, I think a quick solution would be to add an...
Truth is, as you might have guessed, I am currently very busy with other stuff. Can't promise anything. You're welcome to create pull requests of course :)
Yeah, I wanted to show a list of available placeholders somewhere, so this is probably the place to put them.
The desktop version of this app saves folders with an underscore and if you export the files as ZIP, the folders use underscores as well. it's only in the editor...