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 6
6
- v*.*.*
7
7
8
8
jobs :
9
-
10
9
ci :
11
10
runs-on : ubuntu-latest
12
11
strategy :
18
17
scala : 3
19
18
name : Scala v${{ matrix.scala }} / Java v${{ matrix.java }}
20
19
steps :
21
-
22
20
- name : Git checkout
23
21
uses : actions/checkout@v4
24
22
with :
37
35
needs : ci
38
36
runs-on : ubuntu-latest
39
37
steps :
40
-
41
38
- uses : actions/checkout@v4
42
39
with :
43
40
fetch-depth : 0
46
43
47
44
48
45
- name : Release
49
- run : cd library && sbt ci-release
46
+ run : cd library && sbt -v -J-Xmx6g ci-release
50
47
env :
51
48
PGP_PASSPHRASE : ${{ secrets.PGP_PASSPHRASE }}
52
49
PGP_SECRET : ${{ secrets.PGP_SECRET }}
Original file line number Diff line number Diff line change @@ -214,7 +214,7 @@ object CustomHook {
214
214
Reusability ( (a, b) => a.reusability.test(a.value, b.value) )
215
215
216
216
// 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))
218
218
219
219
def shouldComponentUpdate [D ](render : D => VdomNode )(implicit r : Reusability [D ]): CustomHook [() => D , VdomNode ] = {
220
220
CustomHook [() => D ]
You can’t perform that action at this time.
0 commit comments