Closed snnsnn closed 1 year ago
That's a savvy thing to worry about, but I think we're ok.
Decorators work well using Typescript and esbuild and vite. And @reactively decorated Typescript classes can be used seamlessly from Javascript.
If someone wants to write classes with reactive properties in Javascript using esbuild or vite, there are three options:
Reactive
object. (That's all the decorator library does)
I see you working on decorators and just wanted to let you know vite uses esbuild internally and consequently does not support decorators. Vite becoming the defacto devtool, this may pose a major hurdle for adoption.
https://github.com/evanw/esbuild/issues/104