This repository was archived by the owner on Jan 6, 2025. It is now read-only.
Commit d062708
authored
fix(ssr): reset class counter to zero before each render (#1153)
Previously, the unique class generation routine used a
local variable to keep track of individual elements.
However, this counter would never get reset, meaning
that it would get incremented on each subsequent
server render, leading to enormous values for the class
names, erroneously. This resets the counter to zero for
each render.1 parent dd36781 commit d062708
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
43 | 46 | | |
44 | 47 | | |
45 | 48 | | |
| |||
0 commit comments