Commit 7c822d8
committed
make sure there is a hydrate event before we assume
if the app is stateless, then presumably we don't end up connecting a websocket
at all, so we wouldn't hit this code. also if `initialEvents` was empty for
whatever reason, then the app probably wouldn't work... but lets make it look a
bit safer.1 parent ef19541 commit 7c822d8
1 file changed
+13
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
618 | 618 | | |
619 | 619 | | |
620 | 620 | | |
621 | | - | |
622 | | - | |
623 | | - | |
624 | | - | |
625 | | - | |
626 | | - | |
627 | | - | |
628 | | - | |
629 | | - | |
630 | | - | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
631 | 634 | | |
632 | 635 | | |
633 | 636 | | |
| |||
0 commit comments