We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
As of 1.10.844, dollar signs can be used to refer to nested namespaces in JS: https://clojurescript.org/news/2021-04-06-release#_library_property_namespaces
(ns foo (:require [react-native$NativeModules.SomeBridge :as woz]))
This might be related to inner class names in Clojure, due to JVM rules: https://clojure.org/reference/java_interop
Note that nested classes are named EnclosingClass$NestedClass, per the JVM spec
But it also looks like a convention from Closure Compiler in JS used to flatten foo.bar.baz to foo$bar$baz but I can’t remember how to find this. This mentions it for renaming anonymous functions: https://github.com/roman01la/closure-compiler-handbook#anonymous-functions-naming
foo.bar.baz
foo$bar$baz
math.simple.add = function $math$simple$add$(a, b) { return a + b; };
The text was updated successfully, but these errors were encountered:
No branches or pull requests
As of 1.10.844, dollar signs can be used to refer to nested namespaces in JS:
https://clojurescript.org/news/2021-04-06-release#_library_property_namespaces
This might be related to inner class names in Clojure, due to JVM rules:
https://clojure.org/reference/java_interop
But it also looks like a convention from Closure Compiler in JS used to flatten
foo.bar.baz
tofoo$bar$baz
but I can’t remember how to find this. This mentions it for renaming anonymous functions:https://github.com/roman01la/closure-compiler-handbook#anonymous-functions-naming
The text was updated successfully, but these errors were encountered: