We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bf7a3e1 + e54f2f2 commit 731cf62Copy full SHA for 731cf62
core/src/main/scala/japgolly/scalajs/react/raw/Suspense.scala
@@ -3,7 +3,7 @@ package japgolly.scalajs.react.raw
3
import scala.scalajs.js
4
import scala.scalajs.js.annotation.JSImport
5
6
-@JSImport("react", JSImport.Namespace, "React.Suspense")
+@JSImport("react", "Suspense", "React.Suspense")
7
@js.native
8
object Suspense extends js.Any
9
doc/changelog/1.4.1.md
@@ -0,0 +1,3 @@
1
+## 1.4.1
2
+
+* Fixed `React.Suspense` import when compiling for a module system (for example when using ScalaJS-Bundler)
0 commit comments