Skip to content
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

Maybe: dollarless janus #143

Open
issa-tseng opened this issue Mar 17, 2019 · 2 comments
Open

Maybe: dollarless janus #143

issa-tseng opened this issue Mar 17, 2019 · 2 comments

Comments

@issa-tseng
Copy link
Owner

This has been obvious for a long time now, I just want it down in writing.

I didn't want to reimplement the low-level stuff but I also didn't want to be permanently bound to jQuery or Zepto. But the lengths we must go to in order to remain agnostic are intense.

On the other hand, the actual DOM operations we perform today are extremely limited yet mostly what you'd ever need. Maybe we can just implement it ourselves.

@issa-tseng
Copy link
Owner Author

i think this is very doable and i want to make it happen. the main issue is that intermediate libraries would still need some kind of weird env injection to obtain a document/createDocumentFragment somehow, so the biggest headache is not much improved over the current situation.

@issa-tseng
Copy link
Owner Author

we have eliminated the latter problem by swallowing the cost of env injection for intermediate libraries. now the intermediate libraries do require a dollar context in order to function. the next step would be to wean all the libraries off dollar onto native operations.

@issa-tseng issa-tseng added this to the Janus v0.6 milestone Aug 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant