File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed
library/coreGeneric/src/main/scala/japgolly/scalajs/react/hooks Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change 66 - v*.*.*
77
88jobs :
9-
109 ci :
1110 runs-on : ubuntu-latest
1211 strategy :
1817 scala : 3
1918 name : Scala v${{ matrix.scala }} / Java v${{ matrix.java }}
2019 steps :
21-
2220 - name : Git checkout
2321 uses : actions/checkout@v4
2422 with :
3735 needs : ci
3836 runs-on : ubuntu-latest
3937 steps :
40-
4138 - uses : actions/checkout@v4
4239 with :
4340 fetch-depth : 0
46434744
4845 - name : Release
49- run : cd library && sbt ci-release
46+ run : cd library && sbt -v -J-Xmx6g ci-release
5047 env :
5148 PGP_PASSPHRASE : ${{ secrets.PGP_PASSPHRASE }}
5249 PGP_SECRET : ${{ secrets.PGP_SECRET }}
Original file line number Diff line number Diff line change @@ -214,7 +214,7 @@ object CustomHook {
214214 Reusability ( (a, b) => a.reusability.test(a.value, b.value) )
215215
216216 // Component for reuse. Must be stable.
217- private val ReuseComponent = React .memo(ScalaFnComponent [ReuseComponentProps [Any ]](_.renderVdom))
217+ private lazy val ReuseComponent = React .memo(ScalaFnComponent [ReuseComponentProps [Any ]](_.renderVdom))
218218
219219 def shouldComponentUpdate [D ](render : D => VdomNode )(implicit r : Reusability [D ]): CustomHook [() => D , VdomNode ] = {
220220 CustomHook [() => D ]
You can’t perform that action at this time.
0 commit comments