You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been having some issues with the require vs imports stuff. I would appreciate an update to dom-expressions that modernizes it in a way that import just works out of the box.
I know dom-expressions version 2 it's in our thoughts, but before that happens I suggest a modernization, to allow us keep contributing without friction.
Just to illustrate the problem, I had trouble to add tests for functions that expect import in one place, but the same function expect require in the test case (or reversed, the environment changes in someway). I cannot reuse the function without duplicating it to a new place, which means it will require updates whenever any of the two functions change. So I didn't add the tests, and that's not cool.
I am asking, but I don't know what are the implications or required effort to get into such a shape, so please do not take me wrong. If it is doable, take this post as pushing kindly to it.
Thanks!
The text was updated successfully, but these errors were encountered:
I have been having some issues with the require vs imports stuff. I would appreciate an update to
dom-expressions
that modernizes it in a way that import just works out of the box.I know dom-expressions version 2 it's in our thoughts, but before that happens I suggest a modernization, to allow us keep contributing without friction.
Just to illustrate the problem, I had trouble to add tests for functions that expect import in one place, but the same function expect require in the test case (or reversed, the environment changes in someway). I cannot reuse the function without duplicating it to a new place, which means it will require updates whenever any of the two functions change. So I didn't add the tests, and that's not cool.
I am asking, but I don't know what are the implications or required effort to get into such a shape, so please do not take me wrong. If it is doable, take this post as pushing kindly to it.
Thanks!
The text was updated successfully, but these errors were encountered: