choojs / hyperx

🏷 - tagged template string virtual dom builder
BSD 2-Clause "Simplified" License
1.01k stars 48 forks source link

convert to a pure ES module and adopt some other es niceities #85

Open mreinstein opened 10 months ago

mreinstein commented 10 months ago

I didn't replace all uses of var with const/let in the main module, because I believe there are some places where we're actually depending on var's function scope. That would be a nice future effort.

When this lands it'll require another major version bump since dropping commonjs is a breaking change.

I don't know if anyone is still looking at this repo but I'll leave this PR open for a little while in case there are any 👀

Would love feedback.