File tree 1 file changed +12
-4
lines changed
1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -345,11 +345,12 @@ See also `:install-deps`.
345
345
346
346
[CAUTION]
347
347
====
348
- The `:npm-deps` feature is in alpha status. Additionally, NPM dependencies
349
- configured in this manner are passed through Closure Compiler and not all NPM
350
- libraries contain Closure-compatible code.
348
+ The `:npm-deps` feature is in alpha status for optimized builds. When applying
349
+ Closure optimizations, NPM dependencies are passed through Closure Compiler and
350
+ not all NPM libraries contain Closure-compatible code.
351
351
352
- A reliable alternative can be found with <<xref/../../guides/webpack#,ClojureScript with Webpack>>.
352
+ A reliable alternative can be found with
353
+ <<xref/../../guides/webpack#,ClojureScript with Webpack>>.
353
354
====
354
355
355
356
[source,clojure]
@@ -478,6 +479,13 @@ around 10-30%. Higher order function that don't implement the `IFn` protocol
478
479
are normally called with `f.call(null, arg0, arg1 ...)`. With this option
479
480
enabled the compiler calls them with a faster `f(arg0, arg1 ...` instead.
480
481
482
+ [CAUTION]
483
+ ====
484
+ The `:fn-invoke-direct` feature is in alpha status. For some libraries such
485
+ as Reagent, `:fn-invoke-direct` is known to generate incorrect code.
486
+ ====
487
+
488
+
481
489
[source,clojure]
482
490
----
483
491
:fn-invoke-direct true
You can’t perform that action at this time.
0 commit comments