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

Clojurescript support? #2

Open
madvas opened this issue Dec 9, 2017 · 1 comment
Open

Clojurescript support? #2

madvas opened this issue Dec 9, 2017 · 1 comment

Comments

@madvas
Copy link

madvas commented Dec 9, 2017

Do you have any plans to add clojurescript support? Is there some fundamental problem with this?

@tolitius
Copy link
Owner

mount-up uses robert hooke to apply custom functions to components start and stop functions.

robert hooke is based on vars and uses alter-var-root to change behavior (i.e. wrap the existing behavior with a custom one).

ClojureScript's advanced mode, besides other things, optimizes var names which makes it somewhat impossible to apply custom functions to them (i.e. unclear what to apply to what).

Also, internally mount uses derefable states in ClojureScript, here is more docs about it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants