1
00:00:00,200 --> 00:00:03,200
Welcome back piece to perfect 
out there, where we give you 

2
00:00:03,200 --> 00:00:06,400
cats the freshest dose of devs 
snacks. 

3
00:00:06,500 --> 00:00:10,000
Now with your amazing hosts, 
Alex, Patterson, and Brittany 

4
00:00:10,100 --> 00:00:13,000
post, this episode is sponsored 
by Builder. 

5
00:00:13,000 --> 00:00:16,100
IO visually build on your Tech 
stack. 

6
00:00:17,400 --> 00:00:21,700
It is a we have Ryan Carney, I 
always mess up your last name. 

7
00:00:22,100 --> 00:00:25,000
I know where you say yaker 
nieta. 

8
00:00:25,700 --> 00:00:29,200
Okay, I was like, oh no, it's 
always on camera when I mess it 

9
00:00:29,200 --> 00:00:30,400
up. 
Cool. 

10
00:00:30,800 --> 00:00:33,700
So Ryan's on the show today to 
talk all about JavaScript 

11
00:00:33,700 --> 00:00:36,900
performance but a lot probably 
on salad. 

12
00:00:36,900 --> 00:00:39,000
Yes, as well. 
Welcome Ryan. 

13
00:00:39,400 --> 00:00:41,600
Hi, thank you for having me. 
I'm glad to be here. 

14
00:00:42,600 --> 00:00:45,300
Do you want to kind of tell the 
a little bit more background 

15
00:00:45,300 --> 00:00:48,400
about yourself kind of where you
work and why you created like 

16
00:00:48,400 --> 00:00:49,800
salad? 
Yes, sure. 

17
00:00:51,200 --> 00:00:56,500
So Jess was actually a project 
that I had started at my 

18
00:00:56,500 --> 00:01:01,100
previous employment, I was 
working at a start-up and So we 

19
00:01:01,100 --> 00:01:05,500
were knockout shot, basically, 
we know the most technical 

20
00:01:05,500 --> 00:01:08,100
knockout. 
And actually, I didn't realize 

21
00:01:08,100 --> 00:01:12,500
is that my time employment, that
the CEO of the kind of my boss, 

22
00:01:12,500 --> 00:01:17,200
the guy in charge, he he was the
writer of a framework called 

23
00:01:17,200 --> 00:01:20,500
knock-back, which kind of 
combined knock-back and knock 

24
00:01:20,500 --> 00:01:24,000
out together to meant to be like
a full front-end framework and 

25
00:01:24,500 --> 00:01:26,600
through that I got into open 
source. 

26
00:01:26,600 --> 00:01:29,500
And what not just because 
simply, like, our whole stack 

27
00:01:29,500 --> 00:01:32,000
was kind of Custom. 
This is 2012 kind of time 

28
00:01:32,000 --> 00:01:35,800
period. 
And before graphql before react,

29
00:01:35,900 --> 00:01:41,300
you know, and I suddenly found 
myself, you know, basically, you

30
00:01:41,308 --> 00:01:42,700
know, working on these open 
source. 

31
00:01:42,700 --> 00:01:45,700
Libraries, I'm not gonna lie, I 
kind of didn't wasn't stoked. 

32
00:01:45,700 --> 00:01:48,800
I wanted better docks. 
I wanted like, I was like, why? 

33
00:01:48,900 --> 00:01:51,200
What when there's a problem? 
I don't like that. 

34
00:01:51,200 --> 00:01:54,300
I have to go, like, look in the 
code and inspect and stuff. 

35
00:01:54,300 --> 00:01:56,500
But I mean, I really didn't have
much of a choice. 

36
00:01:56,500 --> 00:01:59,000
Yeah, before that I worked at a 
Microsoft shop and I was used to

37
00:01:59,000 --> 00:02:02,900
using like I was doing 
JavaScript from Knocked out, but

38
00:02:02,900 --> 00:02:05,000
I was also doing like gotten 
that and everything was like by 

39
00:02:05,000 --> 00:02:07,100
the book, you had like these 
great resources. 

40
00:02:07,300 --> 00:02:10,100
So it was uncomfortable for me 
at first but the funniest thing 

41
00:02:10,100 --> 00:02:14,500
is, well, it's not funny, 
actually, I'm sorry, he kind of 

42
00:02:14,500 --> 00:02:18,600
ended up, you know, in a burning
out over working and I was 

43
00:02:18,600 --> 00:02:22,400
something left, kind of almost 
in charge on the technical side 

44
00:02:22,400 --> 00:02:25,300
of the startup. 
So, I was left with this open 

45
00:02:25,300 --> 00:02:29,200
source stack that I was made 
maintaining more or less and 

46
00:02:30,400 --> 00:02:33,500
Over time, we had the updated 
improve it and you know, like 

47
00:02:33,500 --> 00:02:37,100
change libraries and can keep 
them up-to-date and solid was 

48
00:02:37,100 --> 00:02:39,500
just born out of that. 
I, we really like knockout. 

49
00:02:39,500 --> 00:02:43,400
We like the like if used well, 
we liked how it worked. 

50
00:02:43,400 --> 00:02:47,200
And when react came around, we 
were just like we got web 

51
00:02:47,200 --> 00:02:48,900
components. 
We have reactive State, we 

52
00:02:48,900 --> 00:02:53,000
don't, we don't need to react. 
And, I mean, to be fair over 

53
00:02:53,000 --> 00:02:58,700
time, maintain your own thing is
a lot of work, but I, but I, but

54
00:02:58,700 --> 00:03:00,200
I was like, okay, we can we can 
do Better. 

55
00:03:00,200 --> 00:03:03,400
We can have a better knockout or
and then that's essentially how 

56
00:03:03,400 --> 00:03:06,500
I start got started in solid J. 
So it's just like my own time 

57
00:03:06,500 --> 00:03:09,000
project that maybe one day my 
startup would use. 

58
00:03:09,400 --> 00:03:14,300
And as I often tell in the story
fast forward a few years to 2018

59
00:03:15,200 --> 00:03:18,900
and I'm you know, you know head 
of technology or whatever at the

60
00:03:18,900 --> 00:03:20,800
start of doing my thing and 
we've got to make the choice and

61
00:03:20,800 --> 00:03:23,800
we've been maintaining our own 
stack for like six years or 

62
00:03:23,800 --> 00:03:28,200
something and and when the 
choice came I kind of guided 

63
00:03:28,200 --> 00:03:29,800
people push them towards using 
Priya. 

64
00:03:29,900 --> 00:03:34,200
Act in the end. 
So and ironically, it was right 

65
00:03:34,200 --> 00:03:36,800
on the hook boundary like 
suspense time periods. 

66
00:03:36,800 --> 00:03:40,500
We actually ended up using react
ultimately after that whole 

67
00:03:40,500 --> 00:03:44,300
thing because we we just we need
to deliver our product and 

68
00:03:44,300 --> 00:03:47,700
that's how it works. 
And but it yeah in any case 

69
00:03:47,700 --> 00:03:53,200
because of this I did come up 
with Zola Jace and it was it was

70
00:03:53,200 --> 00:03:55,900
almost kind of like a way of 
proving that my favorite 

71
00:03:55,900 --> 00:03:59,100
Paradigm still work in a post 
react World. 

72
00:03:59,300 --> 00:04:02,500
Nice. 
Yeah, so I'm kind of curious as 

73
00:04:02,500 --> 00:04:05,200
we start to get into the like 
this ljs. 

74
00:04:06,200 --> 00:04:09,500
There's a lot of lot of kind of 
switch in our environment 

75
00:04:09,500 --> 00:04:13,500
especially on the front end 
these days with going from more 

76
00:04:13,500 --> 00:04:17,399
of a kind of load up your 
framework it can do anything and

77
00:04:17,399 --> 00:04:21,800
everything to let's not put as 
much JavaScript out there or a 

78
00:04:21,800 --> 00:04:23,700
lot. 
Let's like kind of keep the 

79
00:04:23,707 --> 00:04:26,800
JavaScript out of the browser 
until we need, it type of thing.

80
00:04:27,100 --> 00:04:30,300
And one of the craziest Parts 
about solid Jess. 

81
00:04:30,300 --> 00:04:33,100
That I've seen is the 
performance side of that. 

82
00:04:33,100 --> 00:04:36,200
I'm going to bring up the the 
main page real quick. 

83
00:04:37,700 --> 00:04:40,500
Maybe real quick. 
Here we go. 

84
00:04:43,400 --> 00:04:46,900
So on the solid shape Jazz page,
you actually have two different 

85
00:04:46,900 --> 00:04:50,500
metrics on here. 
So there's, there's this kind of

86
00:04:50,700 --> 00:04:55,300
time metric. 
So that has over the course of 

87
00:04:55,300 --> 00:04:57,600
time, like load time, I assume, 
right. 

88
00:04:58,100 --> 00:05:01,000
This one's actually an average 
time from JS, framework 

89
00:05:01,000 --> 00:05:02,300
Benchmark. 
This is one of my favorite 

90
00:05:02,300 --> 00:05:06,300
benchmarks, it. 
It actually measures mostly 

91
00:05:06,300 --> 00:05:10,100
actually. 
Render time update time, it's 

92
00:05:10,100 --> 00:05:12,700
actually one of the few 
benchmarks Not actually based on

93
00:05:12,700 --> 00:05:14,300
load time. 
It's actually based purely on 

94
00:05:14,300 --> 00:05:17,300
like runtime performance like, 
while the things already loaded 

95
00:05:17,300 --> 00:05:19,300
in the browser. 
Okay, cool. 

96
00:05:19,700 --> 00:05:22,800
And then the, the other side of 
that, the search results I'd 

97
00:05:22,900 --> 00:05:25,500
that. 
So this is this amount of nodes 

98
00:05:25,500 --> 00:05:27,600
that has or operations 
altogether. 

99
00:05:27,700 --> 00:05:29,100
Yeah, this is operations per 
second. 

100
00:05:29,100 --> 00:05:33,300
This is an example where we just
throw which ones that is that 

101
00:05:33,300 --> 00:05:34,700
the Color Picker notes, the 
search results. 

102
00:05:34,700 --> 00:05:37,500
So, basically, the guys from 
eBay had made this Benchmark 

103
00:05:37,500 --> 00:05:42,500
Benchmark. 
A couple years ago and It 

104
00:05:42,500 --> 00:05:45,800
essentially was like a copy of 
the search results page from 

105
00:05:45,800 --> 00:05:48,100
eBay. 
Essentially, it had like a 

106
00:05:48,100 --> 00:05:51,600
listing of search results, you 
have the show had a header and 

107
00:05:51,600 --> 00:05:55,700
a, absolutely massive footer 
full of links and you know, all 

108
00:05:55,700 --> 00:05:59,400
the likes typical legal stuff 
like the Big Blob so it's just 

109
00:05:59,400 --> 00:06:03,100
like a very large traditional 
kind of static e-commerce site. 

110
00:06:03,100 --> 00:06:03,800
What? 
I mean there's some 

111
00:06:03,800 --> 00:06:06,700
interactively with the list and 
stuff but it's a largely static 

112
00:06:06,700 --> 00:06:10,500
site and yeah this is just like 
how many operations per second 

113
00:06:10,500 --> 00:06:13,500
can you just Jam? 
The like the string rendering on

114
00:06:13,500 --> 00:06:15,100
the surface, it's called 
strangling rendering, not 

115
00:06:15,100 --> 00:06:17,700
everyone used during every but 
rendering, this is SSR speed.com

116
00:06:19,100 --> 00:06:22,500
operations per second. 
Yeah, so if we were to take and 

117
00:06:22,500 --> 00:06:26,200
like, Drop just JavaScript down 
there, would we see a big 

118
00:06:26,200 --> 00:06:30,800
difference between the? 
It's, it's hard to say, it's, 

119
00:06:31,000 --> 00:06:34,000
I've been trying the solid 
implementation to is about as 

120
00:06:34,000 --> 00:06:38,600
close as I could get. 
I imagine if it was just the 

121
00:06:38,600 --> 00:06:41,500
string rendering, we could 
probably shave off. 

122
00:06:41,700 --> 00:06:43,800
Like this one's you notice how 
it's almost exponential 

123
00:06:44,000 --> 00:06:46,300
generally speaking? 
You're a slow as your slowest 

124
00:06:46,300 --> 00:06:50,600
bottleneck as really hyper 
exaggerated on the server 

125
00:06:50,600 --> 00:06:53,700
rendering so I wouldn't be 
surprised in this example if 

126
00:06:53,700 --> 00:06:58,900
vanilla JavaScript was maybe not
double solid but maybe like you 

127
00:06:58,900 --> 00:07:02,500
know like significantly faster 
still maybe like 30 or 40 

128
00:07:02,500 --> 00:07:06,700
percent faster. 
But so that kind of helps with 

129
00:07:06,700 --> 00:07:10,700
the scale of it in terms of 
where like you know some of the 

130
00:07:10,707 --> 00:07:13,400
bead on libraries like Actor, 
pre-act are versus where, you 

131
00:07:13,407 --> 00:07:17,100
know, you start getting into 
like svelte and Marco and solid,

132
00:07:17,100 --> 00:07:20,200
what your use their compiler 
that turn stuff into optimal 

133
00:07:20,200 --> 00:07:24,200
string operations here. 
So if like I'm glad we're 

134
00:07:24,200 --> 00:07:27,300
looking at this felt side of 
this if you were to look at felt

135
00:07:27,300 --> 00:07:30,100
like that's more of a 
pre-compiled thing, right? 

136
00:07:30,100 --> 00:07:34,100
So as that kind of hits the the 
browser side whereas set that 

137
00:07:34,100 --> 00:07:37,900
Sal JS actually runs on the 
browser and the server side as 

138
00:07:37,900 --> 00:07:40,600
well. 
When we talk about likes felt 

139
00:07:40,600 --> 00:07:44,100
performance. 
Is it actually like this felt 

140
00:07:44,100 --> 00:07:46,500
like before it arrives at the 
browser? 

141
00:07:47,100 --> 00:07:49,200
I think there's a lot of 
confusion around yourself in 

142
00:07:49,200 --> 00:07:51,800
general. 
I mean, because like all in 

143
00:07:51,800 --> 00:07:55,300
certain aspects felt like, the 
whole experience is compiled. 

144
00:07:55,300 --> 00:07:57,300
And the same is true, is true of
Marco, as well. 

145
00:07:57,500 --> 00:08:03,900
We're like your, your actual 
like your, like, your whole 

146
00:08:03,900 --> 00:08:08,100
component, your view code, 
you're like the let's and the 

147
00:08:08,200 --> 00:08:11,100
accounts and everything. 
These are all compiled or in 

148
00:08:11,100 --> 00:08:13,700
solid. 
We Like transform the jsx, but 

149
00:08:13,700 --> 00:08:15,400
there's still a runtime behind 
it. 

150
00:08:15,400 --> 00:08:17,100
There's still this kind of 
execution model. 

151
00:08:17,100 --> 00:08:19,900
And what you're seeing here in 
the server, rendering example, 

152
00:08:20,100 --> 00:08:25,100
is that svelt takes its 
templates and changes them into 

153
00:08:25,100 --> 00:08:28,300
like, just strings essentially 
and adds them together. 

154
00:08:28,300 --> 00:08:30,100
And on the server, we don't need
reactivity. 

155
00:08:30,100 --> 00:08:33,700
So spelled actually just leaves.
Its, let's and contests and 

156
00:08:33,700 --> 00:08:36,100
everything alone mostly on the 
server and it just passes 

157
00:08:36,100 --> 00:08:38,500
straight through in solid. 
We actually do something little 

158
00:08:38,500 --> 00:08:40,299
smart. 
We're actually have a different 

159
00:08:40,299 --> 00:08:43,500
version of the runtime. 
That does that turns all your 

160
00:08:43,500 --> 00:08:45,800
functions into basically empty 
functions. 

161
00:08:45,800 --> 00:08:49,700
Like, there's no reactivity and 
that's sort of how we do it. 

162
00:08:49,700 --> 00:08:52,900
And we use, we use some tricks 
to basically import the right 

163
00:08:52,900 --> 00:08:54,900
version of solid for the right 
environment. 

164
00:08:55,000 --> 00:08:59,200
But essentially there is a 
server runtime and there is a 

165
00:08:59,600 --> 00:09:02,500
browser runtime, and there's a 
server compilation Target and a 

166
00:09:02,500 --> 00:09:05,200
browser published Target, and 
that's true of spelled Marco. 

167
00:09:05,200 --> 00:09:09,200
And so little, all three of 
those on the end, they're 

168
00:09:09,400 --> 00:09:14,200
actually very cool. 
So yeah, we brought up Marco do 

169
00:09:14,200 --> 00:09:18,500
and I should probably stay like 
are you still with eBay? 

170
00:09:18,500 --> 00:09:20,400
Like let's let's talk about that
for a minute. 

171
00:09:20,600 --> 00:09:22,900
You've worked on Marco for quite
some time, right? 

172
00:09:23,100 --> 00:09:24,600
No actually. 
That's the funny thing they 

173
00:09:24,600 --> 00:09:29,500
found because of solid I was, I 
was working on solid and I was 

174
00:09:29,700 --> 00:09:32,700
kind of happy doing my thing, 
you know, get made my startup 

175
00:09:32,700 --> 00:09:34,900
will use it one day and then I 
was like, oh I want to Benchmark

176
00:09:34,900 --> 00:09:36,700
it. 
So I open sourced it and this is

177
00:09:36,700 --> 00:09:38,700
around right at the beginning of
2018. 

178
00:09:38,700 --> 00:09:41,200
I think open source died already
been working on it, you know, 

179
00:09:41,200 --> 00:09:44,100
for a couple Apple years can on 
and off trying different stuff 

180
00:09:44,200 --> 00:09:47,600
and then I can I was happy with 
benchmarks. 

181
00:09:47,600 --> 00:09:50,100
We were doing really good 
already, like solids been kind 

182
00:09:50,100 --> 00:09:52,500
of at the front of those 
benchmarks since like the 

183
00:09:52,508 --> 00:09:55,300
beginning of 2018, I guess it's 
almost it's basically been four 

184
00:09:55,300 --> 00:10:00,700
years and essentially react 
hooks came out. 

185
00:10:00,700 --> 00:10:03,900
And I was like, oh my God, 
people might actually use my 

186
00:10:03,900 --> 00:10:07,600
library because I didn't, I 
didn't think people would go for

187
00:10:07,600 --> 00:10:09,700
those kind of primitive hook 
like things. 

188
00:10:09,700 --> 00:10:12,400
Before we act cups came out, I 
was happy using But I didn't 

189
00:10:12,400 --> 00:10:15,400
think others would be happy. 
And the funny thing is, I just 

190
00:10:15,400 --> 00:10:17,300
start, once I said, I just 
started writing article after 

191
00:10:17,300 --> 00:10:21,200
article about, you know, my 
experiences and how I went about

192
00:10:21,300 --> 00:10:23,800
building this and planning it. 
And I just, I just wanted to 

193
00:10:23,808 --> 00:10:26,000
kind of get it all out there in 
terms of Mike, my thought 

194
00:10:26,000 --> 00:10:27,900
process and justification 
because I figured I'd need to 

195
00:10:27,900 --> 00:10:30,200
justify a framework at some 
point to. 

196
00:10:30,300 --> 00:10:33,500
And during that process of 
writing those articles, I 

197
00:10:33,500 --> 00:10:35,900
started kind of touching wider 
because I do a lot of 

198
00:10:35,900 --> 00:10:38,000
benchmarking, which got me 
familiar with a lot of 

199
00:10:38,000 --> 00:10:42,700
Frameworks and the guys on the 
Marco team were like I think 

200
00:10:42,900 --> 00:10:45,300
this solves the problem that 
we've been having that, we've 

201
00:10:45,300 --> 00:10:47,900
been trying to work on they'd 
already kinda theorized a bit, 

202
00:10:47,900 --> 00:10:52,700
but they were like, we don't and
you brought this up earlier. 

203
00:10:52,700 --> 00:10:56,600
We don't want to send all the 
JavaScript to the browser and 

204
00:10:57,200 --> 00:10:59,100
our current system uses 
components, which are 

205
00:10:59,100 --> 00:11:01,500
hierarchical. 
Which means once you hit that 

206
00:11:01,500 --> 00:11:05,000
component will then we're let a 
stateful or, you know, have 

207
00:11:05,000 --> 00:11:07,600
stayed in it. 
We have to send the whole rest 

208
00:11:07,600 --> 00:11:10,000
of the tree down from that point
down and they're like, we don't 

209
00:11:10,000 --> 00:11:11,500
want to do that. 
How do we solve that? 

210
00:11:11,900 --> 00:11:14,200
Well, we get rid of the 
components, which is kind of 

211
00:11:14,200 --> 00:11:18,900
like the secret that solid has. 
So they, I joined up pretty 

212
00:11:18,900 --> 00:11:20,600
pretty quick. 
Once this has reached out to me 

213
00:11:20,600 --> 00:11:22,700
because I didn't realize much 
about Mark, I wasn't really into

214
00:11:22,700 --> 00:11:25,700
server-side rendering that much.
I was in 2002, like, clients, 

215
00:11:25,700 --> 00:11:28,700
high performance, and I made 
many demos and benchmarks. 

216
00:11:28,700 --> 00:11:30,800
You see where we're solid 
without performing, even 

217
00:11:30,800 --> 00:11:34,200
server-side rendered apps in 
certain a lot of benchmarks, 

218
00:11:34,200 --> 00:11:37,900
even like first paint and stuff,
just simply with some Dynamics 

219
00:11:37,900 --> 00:11:41,800
in terms of the way that people 
tend to block on the Ever, 

220
00:11:41,800 --> 00:11:48,100
before, sending responses back, 
but the Marco team had crazy 

221
00:11:48,400 --> 00:11:52,900
innovated in their area, which 
is streaming and this ability 

222
00:11:52,900 --> 00:11:55,800
not to send all the JavaScript 
and it was kind of, I just 

223
00:11:55,800 --> 00:11:58,300
couldn't believe it existed and 
and they're like, yeah, no. 

224
00:11:58,300 --> 00:12:02,700
We've been doing this for like 
years, like, 2013 2014. 

225
00:12:03,100 --> 00:12:06,600
And, and I just like, how does 
this exist in not know about it.

226
00:12:06,600 --> 00:12:09,400
So I got read it. 
I got right in there and I was 

227
00:12:09,400 --> 00:12:11,400
just like, I was learning 
everything. 

228
00:12:11,700 --> 00:12:14,400
It helped influence our solution
for solid server rendering, 

229
00:12:14,400 --> 00:12:19,200
which is something I was just 
getting into and the team there 

230
00:12:19,400 --> 00:12:23,100
we're working on the next 
version which is Marco 6, and 

231
00:12:23,500 --> 00:12:26,600
it's basically taking these 
lessons. 

232
00:12:26,600 --> 00:12:28,600
It's taking a little while to 
come out, but it's taking these 

233
00:12:28,600 --> 00:12:32,600
fine-grained approaches to 
Performance and hydration and 

234
00:12:32,600 --> 00:12:35,600
applying it to a really smart 
compiler. 

235
00:12:35,600 --> 00:12:41,100
So kind of like felt ifs. 
Felt could do hooks essential, 

236
00:12:41,100 --> 00:12:43,400
okay. 
And let me add. 

237
00:12:43,400 --> 00:12:46,100
So let me bring up, let me bring
this up real quick. 

238
00:12:46,100 --> 00:12:47,800
So, this is, this is kind of 
Marco. 

239
00:12:47,800 --> 00:12:50,200
If you've never heard of it, 
which it's still amazing. 

240
00:12:50,200 --> 00:12:51,700
Mark has been around a long 
time. 

241
00:12:51,700 --> 00:12:54,200
EBay has used it for a long 
time, right? 

242
00:12:54,900 --> 00:12:58,400
And yet, like anyone, I talk to 
they're like, What's Marco? 

243
00:12:59,200 --> 00:13:02,300
So it's kind of one of these 
funny Frameworks that's around 

244
00:13:02,400 --> 00:13:05,100
and it's cool that you're 
working on salad, JS and all 

245
00:13:05,100 --> 00:13:07,700
along with the Marco team and 
kind of putting these different 

246
00:13:07,700 --> 00:13:11,500
pieces together. 
What I'm kind of curious about 

247
00:13:11,600 --> 00:13:17,600
Though we talk about shifting to
like this, sending JavaScript to

248
00:13:17,600 --> 00:13:22,300
the browser like is that where 
the performance should be in the

249
00:13:22,300 --> 00:13:27,000
future as well, like should we 
try to get Frameworks out of the

250
00:13:27,000 --> 00:13:29,900
mix on the Weber's? 
Are we asking too much? 

251
00:13:29,900 --> 00:13:33,300
Like they've provided us so many
tools over the years and now 

252
00:13:33,300 --> 00:13:37,000
we're kind of all talking about.
Let's let's pull away from this 

253
00:13:37,000 --> 00:13:38,400
like how can we get less in 
there? 

254
00:13:38,400 --> 00:13:42,000
Do you find that like that is 
easier or Is that more 

255
00:13:42,000 --> 00:13:45,500
difficult? 
Yeah, I mean this is another 

256
00:13:45,600 --> 00:13:47,800
question. 
Yeah, this is another area where

257
00:13:47,800 --> 00:13:52,700
it's challenging to know what, 
like, what where the nuances 

258
00:13:52,700 --> 00:13:55,800
like, where, where the patterns 
going to fall in because, like 

259
00:13:55,800 --> 00:13:58,300
if you go back far enough, you 
know, I mean, I'm not back up 

260
00:13:58,300 --> 00:14:01,500
our we were primarily building 
multi-page apps that, you know, 

261
00:14:01,500 --> 00:14:03,900
rendered on the server. 
And then you just go, like, give

262
00:14:03,900 --> 00:14:05,900
me a little JavaScript here. 
Yeah, I need this button, the 

263
00:14:05,908 --> 00:14:10,400
click and, and, and then we went
the other way, right? 

264
00:14:10,400 --> 00:14:12,800
The pendulum wet. 
Put it all in the browser. 

265
00:14:12,800 --> 00:14:15,600
It can handle it to the angular 
world, right? 

266
00:14:15,800 --> 00:14:19,200
Exactly. 
And the funny thing is at 

267
00:14:19,200 --> 00:14:22,800
different points in the past, 
there has been attempts to try 

268
00:14:22,800 --> 00:14:27,900
and make a hybrid. 
And one thing that's been almost

269
00:14:27,900 --> 00:14:30,800
definitive and all the times I 
make, hybrids has been, it's 

270
00:14:30,800 --> 00:14:34,500
been very clunky and that's 
usually what precipitates, the 

271
00:14:34,500 --> 00:14:38,100
change to the opposite pendulum 
because like and the reason I'm 

272
00:14:38,108 --> 00:14:42,100
bringing this up is because like
let's say dotnet or Java But I'm

273
00:14:42,100 --> 00:14:43,500
going to use dot next. 
I was familiar with this. 

274
00:14:43,900 --> 00:14:47,600
They tried to make it so that 
you could have more interactive 

275
00:14:47,600 --> 00:14:51,700
JavaScript in the browser on 
their back end, but they hid it 

276
00:14:51,700 --> 00:14:53,500
behind you'd write C, sharp 
code, that would generate 

277
00:14:53,500 --> 00:14:56,000
JavaScript. 
So, you'd have this full 

278
00:14:56,000 --> 00:14:59,000
isomorphic experience, where you
wrote all your components in 

279
00:14:59,000 --> 00:15:03,000
your C sharp and you had stuff 
that would do JavaScript request

280
00:15:03,000 --> 00:15:05,800
in the background and update 
quickly, instead of like doing 

281
00:15:05,800 --> 00:15:09,500
the full page reloads and all 
that stuff, but it was the 

282
00:15:09,500 --> 00:15:14,100
biggest convoluted mess of 
Sending and like serializing the

283
00:15:14,100 --> 00:15:16,200
state back and forth. 
It was it was really it got 

284
00:15:16,200 --> 00:15:20,900
really nasty and like that, at 
that Peak, it was like, it was 

285
00:15:20,900 --> 00:15:22,800
almost like a no-brainer, we 
knew we needed the 

286
00:15:22,800 --> 00:15:25,200
interactivity. 
So we went really hard that way 

287
00:15:25,300 --> 00:15:26,800
and then it's bloated, right 
out. 

288
00:15:26,800 --> 00:15:29,200
And then it was like people like
why can't I just use JavaScript 

289
00:15:29,200 --> 00:15:31,900
and then the rise of the single 
page app and you know, the 

290
00:15:31,900 --> 00:15:34,400
pendulum goes the other way. 
Now the apps are completely in 

291
00:15:34,400 --> 00:15:38,600
it. 
The challenge is that even 

292
00:15:38,600 --> 00:15:41,400
though our again, our techniques
are getting better like better. 

293
00:15:41,500 --> 00:15:44,200
A lazy loading, better code 
splitting and all that kind of 

294
00:15:44,200 --> 00:15:47,500
approaches. 
But the the interesting part is 

295
00:15:48,600 --> 00:15:52,000
while we won't, I don't think we
should go back to like, server 

296
00:15:52,000 --> 00:15:54,300
rendering everything. 
It is clunky, you rely a lot on 

297
00:15:54,308 --> 00:15:56,600
the network. 
At least that's not like what 

298
00:15:56,600 --> 00:15:58,500
we're proposing. 
I think a lot of the new 

299
00:15:58,500 --> 00:16:00,400
technologies coming out to go 
completely there. 

300
00:16:00,400 --> 00:16:02,500
You want, client-side 
interaction, you want 

301
00:16:02,500 --> 00:16:04,100
JavaScript. 
And we also do some rendering of

302
00:16:04,100 --> 00:16:07,500
the page, this isn't like pure, 
I don't know, people familiar 

303
00:16:07,500 --> 00:16:11,300
rails, turbo link+ stimulus or 
whatever like hot wire. 

304
00:16:12,700 --> 00:16:19,300
We're not talking about that 
extreme but there is fundamental

305
00:16:19,900 --> 00:16:23,600
concerns with with single-page 
app Frameworks for a lot of use 

306
00:16:23,600 --> 00:16:25,300
cases. 
The problem is it wasn't that 

307
00:16:25,300 --> 00:16:28,000
single page apps didn't succeed.
At what they did we were trying 

308
00:16:28,000 --> 00:16:30,400
to get a mobile Experience. 
Mobile web was getting our 

309
00:16:30,400 --> 00:16:32,900
mobile native. 
Sorry was getting very popular 

310
00:16:33,100 --> 00:16:37,600
and people like we're using it 
all their phones and like I feel

311
00:16:37,600 --> 00:16:40,600
like single page apps came out 
largely of like okay we need 

312
00:16:40,600 --> 00:16:44,200
that nice Mobile experience. 
We have that native asked feel 

313
00:16:44,200 --> 00:16:46,000
to our experience. 
We need that have it all there 

314
00:16:46,000 --> 00:16:48,100
at our fingertips and you don't 
like a native app, you don't 

315
00:16:48,100 --> 00:16:51,400
mind, installing it, like it is 
some, you know, upfront cost. 

316
00:16:51,400 --> 00:16:54,400
It wasn't a big deal and but the
problem is, everyone started 

317
00:16:54,400 --> 00:16:57,300
actually really enjoying 
building apps in that Paradigm. 

318
00:16:57,500 --> 00:17:00,300
So they continue to and they 
were like, okay, well actually 

319
00:17:00,300 --> 00:17:02,400
maybe I'll just use this for my 
blog site, or maybe I'll use 

320
00:17:02,400 --> 00:17:04,700
this for my content site in. 
Maybe I'll use this for my 

321
00:17:04,700 --> 00:17:08,000
e-commerce site, which actually 
cares about page loading. 

322
00:17:08,500 --> 00:17:11,900
Oh no. 
Let you and that that That kind 

323
00:17:11,900 --> 00:17:15,900
of shift is, is, you know, why? 
We want to get more out of it 

324
00:17:15,900 --> 00:17:19,000
and I think, you know, 
government sites and other 

325
00:17:19,000 --> 00:17:21,300
places where you don't always 
have as much JavaScript or you 

326
00:17:21,300 --> 00:17:23,800
can't depend on devices. 
And like, there's a ton of use 

327
00:17:23,800 --> 00:17:28,000
cases where a single page app 
architecture can do the job but 

328
00:17:28,000 --> 00:17:31,000
then you're like, maybe this 
isn't the right job. 

329
00:17:31,000 --> 00:17:36,400
And I think the interesting part
with this whole thing is, If we 

330
00:17:36,400 --> 00:17:40,900
are going to pull some stuff 
back to the server, eat the one 

331
00:17:40,900 --> 00:17:42,700
thing I've seen consistently 
when I'm looking at these 

332
00:17:42,700 --> 00:17:46,500
Frameworks and talking to people
is it's not just fixing single 

333
00:17:46,500 --> 00:17:48,900
page apps. 
Like there has been some talk to

334
00:17:48,908 --> 00:17:52,800
people like, you know, let's 
let's you know, do better, lazy 

335
00:17:52,800 --> 00:17:56,000
loading or better code 
splitting, even the people who 

336
00:17:56,000 --> 00:17:58,700
come up with some of the best 
ways of doing that, like quick 

337
00:17:58,700 --> 00:18:02,900
is amazing on the lazy loading 
code splitting story in terms of

338
00:18:02,900 --> 00:18:05,500
like a technology that can 
really minimize that cost. 

339
00:18:06,500 --> 00:18:09,800
But even when you talk to them 
they would still like no no 

340
00:18:09,800 --> 00:18:14,600
we're out on the server are like
and this is the kind of shift 

341
00:18:14,600 --> 00:18:18,400
we're seeing where even though 
we know intrinsically we don't 

342
00:18:18,400 --> 00:18:19,800
want to be doing full page on 
loads. 

343
00:18:19,800 --> 00:18:21,300
We don't lose our state in the 
browser. 

344
00:18:21,300 --> 00:18:24,200
We want to be able to make an 
application, something that 

345
00:18:24,400 --> 00:18:27,400
persists, the can transition 
nicely with JavaScript in terms 

346
00:18:27,400 --> 00:18:30,400
of animations or css, you know, 
we want those aspects. 

347
00:18:30,800 --> 00:18:34,700
But at a certain point on the 
single page, app Spectrum, side 

348
00:18:34,700 --> 00:18:38,200
of the things. 
You just have these pieces that 

349
00:18:38,200 --> 00:18:40,700
you can't get rid of like things
around. 

350
00:18:40,700 --> 00:18:43,000
You need data fetching libraries
and caches. 

351
00:18:43,000 --> 00:18:48,500
And and routers that can do 
complicated orchestration and 

352
00:18:48,900 --> 00:18:50,400
these things. 
Once you have them in the 

353
00:18:50,400 --> 00:18:52,200
browser. 
Well they're in the browser like

354
00:18:52,400 --> 00:18:56,900
and they have a real cost. 
So regardless of any attempts 

355
00:18:56,900 --> 00:18:59,200
you can do to try and downscale 
and code. 

356
00:18:59,200 --> 00:19:00,900
Split it. 
You just these things need to be

357
00:19:00,900 --> 00:19:04,900
there unless they don't and that
is that's sort of where the 

358
00:19:04,900 --> 00:19:08,400
mentalities It's like, well, can
we pull those key things? 

359
00:19:08,400 --> 00:19:11,800
Those things that are just like 
you need it to get started, you 

360
00:19:11,808 --> 00:19:14,100
know, like 100% need to be our 
state management all that stuff.

361
00:19:14,200 --> 00:19:18,800
We just pull some of that stuff 
to the server again, but keep 

362
00:19:18,800 --> 00:19:21,800
our ability to have smooth 
transitions in the browser. 

363
00:19:21,800 --> 00:19:23,800
And that's, that's sort of where
things are heading. 

364
00:19:23,800 --> 00:19:28,000
This is not like pure server 
rendered, you know, rails app. 

365
00:19:28,000 --> 00:19:31,100
As I was saying, this is like a 
new form of hybrid. 

366
00:19:31,100 --> 00:19:36,000
This is where we load the 
JavaScript we need for Tivity 

367
00:19:36,100 --> 00:19:39,000
and a little bit for 
orchestration, but we let the 

368
00:19:39,000 --> 00:19:42,000
server do the heavy lifting. 
I think that's where things are 

369
00:19:42,000 --> 00:19:43,300
heading. 
Yeah. 

370
00:19:43,300 --> 00:19:47,900
So you mentioned quick and the 
Builder IO team is putting out 

371
00:19:47,900 --> 00:19:50,200
quick. 
So I'll pause a minute for our 

372
00:19:50,200 --> 00:19:52,100
advertisement here for Builder 
out. 

373
00:19:52,500 --> 00:19:55,000
Today's podcast is brought to 
you by Builder. 

374
00:19:55,000 --> 00:19:57,600
IO visually building the web 
Builder. 

375
00:19:57,600 --> 00:20:01,100
Iowa is one of the most powerful
visual editors in Industry 

376
00:20:01,200 --> 00:20:04,700
unlike other tools and Builder, 
actually produces the code for 

377
00:20:04,700 --> 00:20:06,500
you. 
You don't To completely switch 

378
00:20:06,500 --> 00:20:09,500
out your framework either. 
Just use one of the handy sdks 

379
00:20:09,500 --> 00:20:11,800
that are available. 
There's no limits to what you 

380
00:20:11,800 --> 00:20:14,400
can build. 
Instead of limiting, your 

381
00:20:14,400 --> 00:20:17,800
marketing team start to optimize
and let them do the work. 

382
00:20:18,000 --> 00:20:20,300
This will allow your web 
developers to get back to the 

383
00:20:20,300 --> 00:20:22,700
hard work that it takes for 
other components. 

384
00:20:23,200 --> 00:20:26,600
Allowing your team to do a/b 
testing, and personalization. 

385
00:20:27,400 --> 00:20:29,700
Stop worrying about bugs and 
production. 

386
00:20:30,100 --> 00:20:33,800
Just use the site as it is, then
you can analyze and start 

387
00:20:33,800 --> 00:20:35,400
converting all of your 
customers. 

388
00:20:35,500 --> 00:20:38,500
Whirs. 
The builders built in heatmaps, 

389
00:20:39,400 --> 00:20:43,000
stop limiting your growth with 
developers long lead times. 

390
00:20:43,000 --> 00:20:48,600
Start building optimizing 
analyzing and start growing 

391
00:20:48,600 --> 00:20:51,700
faster. 
Don't take my word for it. 

392
00:20:51,700 --> 00:20:54,300
You can sign up for free today 
and start building the web 

393
00:20:54,300 --> 00:21:01,300
visually with Builder IO. 
Cool, you know gag, a get paid 

394
00:21:01,300 --> 00:21:03,300
right. 
Like gotta keep this podcast go.

395
00:21:04,300 --> 00:21:07,400
Um so yeah, shout out to the 
folks at builder in this is 

396
00:21:07,400 --> 00:21:11,300
actually an interesting 
transition for this too because 

397
00:21:11,600 --> 00:21:16,000
I want to bring up a tweet that 
kind of went crazy back and 

398
00:21:16,000 --> 00:21:18,800
forth and is viral as I've seen 
in a while. 

399
00:21:19,800 --> 00:21:25,000
So let's take a peek here. 
So this tweet went out by Ryan 

400
00:21:25,000 --> 00:21:28,700
Florence who is creating remix 
Along with other people. 

401
00:21:29,300 --> 00:21:32,500
And as we go down, we see me. 
Chicago, who's who's kind of 

402
00:21:32,500 --> 00:21:35,400
creating quick along with the 
team at Builder IO and Steve a 

403
00:21:35,400 --> 00:21:37,900
builder IO talking about like 
hydration. 

404
00:21:38,200 --> 00:21:41,200
But the big question up here 
was, you know, what's the best 

405
00:21:41,200 --> 00:21:46,100
partial hydration demo and Ryan 
you got involved kind of right 

406
00:21:46,100 --> 00:21:48,400
in here. 
And started kind of comparing 

407
00:21:48,400 --> 00:21:52,900
like Marco to remix and I think 
there's. 

408
00:21:52,900 --> 00:21:55,000
Yeah, here's the other one, 
there's there was like are 

409
00:21:55,300 --> 00:21:56,700
Rewritten version. 
Here we go. 

410
00:21:57,600 --> 00:22:00,300
And I was wondering and 
hopefully I don't please who 

411
00:22:00,300 --> 00:22:03,600
much as Phi here. 
I think you have these demo 

412
00:22:03,600 --> 00:22:07,000
sites up and I wanted to just 
talk about the performance 

413
00:22:07,000 --> 00:22:09,000
differences as we go through 
this. 

414
00:22:09,000 --> 00:22:13,000
What do you think? 
Yeah, yeah for sure I that 

415
00:22:13,000 --> 00:22:19,000
thread was a tricky one because 
I was trying to not jump into it

416
00:22:19,100 --> 00:22:21,700
right away some of those 
comments. 

417
00:22:21,700 --> 00:22:23,000
Even the Builder ones came 
later. 

418
00:22:23,000 --> 00:22:25,900
Like essentially the very 
beginning was, here's a part. 

419
00:22:26,000 --> 00:22:30,100
Give me a demo partial hydrogen 
and when That most people like 

420
00:22:30,100 --> 00:22:32,900
in the know, the few people who 
know, of Marco eventually, oh 

421
00:22:32,900 --> 00:22:37,500
Marco, like instantly started 
like, you know, showing demos 

422
00:22:37,500 --> 00:22:40,000
and stuff and some of the stuff 
I had created and passing them 

423
00:22:40,000 --> 00:22:42,000
on to the remix guys. 
And the problem is, they're 

424
00:22:42,000 --> 00:22:43,200
simple. 
Demos like that. 

425
00:22:43,200 --> 00:22:46,500
Like it was a demo of a Hacker 
News, look paycheck, it's mostly

426
00:22:46,500 --> 00:22:50,200
static. 
And, you know, Ryan Florence was

427
00:22:50,200 --> 00:22:52,200
like, well, I mean this is a 
really simplistic demo. 

428
00:22:52,200 --> 00:22:54,900
This is a great demo, you know, 
show me something bigger. 

429
00:22:54,900 --> 00:22:58,100
You know, I go to ebay.com I see
piles and piles of Of JavaScript

430
00:22:58,100 --> 00:23:01,000
loaded and then and it's like 
yes because unfortunately 

431
00:23:01,600 --> 00:23:04,500
there's the part that Marco 
renders which is like the core 

432
00:23:04,500 --> 00:23:09,900
page and then there's like 
megabytes of ads like just so 

433
00:23:10,000 --> 00:23:13,600
like not that isn't always the 
best example, but the thing was 

434
00:23:13,700 --> 00:23:15,900
use Party Town for that folks. 
Yeah. 

435
00:23:15,900 --> 00:23:18,200
Yeah, part of town looks really 
interesting. 

436
00:23:18,500 --> 00:23:22,100
The the challenge with that was 
I was extol leaving alone 

437
00:23:22,100 --> 00:23:26,000
because I know like it's one of 
those things where you you don't

438
00:23:26,000 --> 00:23:28,200
have to worry about until you 
have to worry about. like if you

439
00:23:28,208 --> 00:23:31,500
got a small framework, you you 
know, supposed to Felts in The 

440
00:23:31,500 --> 00:23:35,000
Souls of the world, like you're 
going to have small JavaScript 

441
00:23:35,000 --> 00:23:38,000
payload, it's going to hydrate 
pretty well, you know, and and 

442
00:23:38,000 --> 00:23:40,300
the demos might, you know, most 
demos of benchmarks are a little

443
00:23:40,300 --> 00:23:44,100
bit convoluted to make a point 
here and essentially, but then 

444
00:23:44,300 --> 00:23:48,100
Ryan posted that image with the 
three examples side-by-side and 

445
00:23:48,100 --> 00:23:52,300
he took his Hacker News demo 
that he posted in his remix 

446
00:23:52,300 --> 00:24:00,000
article and then obviously the 
the the Echo 1 and and it showed

447
00:24:00,000 --> 00:24:02,800
Mark 1 loading, the dip slower 
and went out and I was like, 

448
00:24:03,100 --> 00:24:05,700
okay, I need to I need to 
explain this on to park 

449
00:24:05,700 --> 00:24:07,800
personally, using a different 
API, so it's like not even 

450
00:24:07,800 --> 00:24:09,800
hitting the same endpoint. 
So, like it's not even the same,

451
00:24:09,800 --> 00:24:11,300
the data loading characteristics
for this. 

452
00:24:11,300 --> 00:24:14,700
Have the biggest impact, and the
second thing though, it was hard

453
00:24:14,700 --> 00:24:20,800
to tell with that demo was it 
was is yeah, it was just yeah, 

454
00:24:21,000 --> 00:24:23,200
it's just showing page load 
time. 

455
00:24:23,500 --> 00:24:26,400
It's not talk about hydration. 
Hydration isn't how fast your 

456
00:24:26,408 --> 00:24:29,100
page loads? 
How long it takes for the 

457
00:24:29,100 --> 00:24:33,900
JavaScript to be interactive. 
So he showed that the remix API 

458
00:24:34,900 --> 00:24:38,200
that they're hitting endpoint is
a different API is a faster API.

459
00:24:38,200 --> 00:24:40,500
That's all it showed. 
It had nothing to do with 

460
00:24:40,500 --> 00:24:43,600
hydration because hydration is a
isn't about how fast your page 

461
00:24:43,600 --> 00:24:46,400
shows up. 
So I was like oh man, this is 

462
00:24:46,700 --> 00:24:48,400
bad. 
Because it's like misleading, 

463
00:24:48,400 --> 00:24:50,400
right? 
Like his it is this has no 

464
00:24:50,400 --> 00:24:53,000
relevance to the conversation in
my apartment -. 

465
00:24:53,000 --> 00:24:55,700
So this is what led me to going.
Okay, fine. 

466
00:24:56,100 --> 00:24:58,200
And just just for clarification.
Get too far. 

467
00:24:58,200 --> 00:25:04,700
Like, Remix is kind of a newer 
react based library, for lack of

468
00:25:04,700 --> 00:25:06,500
a better term. 
Almost similar to next Jess. 

469
00:25:06,500 --> 00:25:07,900
Right? 
Yeah, yeah. 

470
00:25:07,900 --> 00:25:12,700
And remakes honestly is, is We 
Love remix on the market him 

471
00:25:12,700 --> 00:25:17,300
just side note and and also 
solid because, you know, it's 

472
00:25:17,600 --> 00:25:19,900
supporting kind of progressive 
enhancement. 

473
00:25:20,100 --> 00:25:22,500
Like a lot of Baseline stuff on 
the web and the crazy thing is 

474
00:25:22,508 --> 00:25:25,700
you've been able to do that in 
react and any firm for years and

475
00:25:25,700 --> 00:25:29,300
years and years but no one Until
remix is actually gone and I'm 

476
00:25:29,300 --> 00:25:31,100
not no one. 
This one, a few stray libraries 

477
00:25:31,100 --> 00:25:34,400
and no one liked as much weight 
to actually make this the 

478
00:25:34,400 --> 00:25:38,300
pattern for their framework. 
So this is like a really good 

479
00:25:38,500 --> 00:25:42,800
thing for web development and, 
you know, for people who have 

480
00:25:42,800 --> 00:25:46,800
different devices and whatnot, 
so remixes incredibly powerful, 

481
00:25:47,300 --> 00:25:51,100
but the the challenge obviously,
is remixes a react framework. 

482
00:25:51,200 --> 00:25:55,400
There are certain features that 
react doesn't have and reacts 

483
00:25:55,400 --> 00:25:56,800
even working on them to a 
certain degree. 

484
00:25:56,800 --> 00:25:59,100
If you consider sir Components 
of screaming coming reacted 

485
00:25:59,100 --> 00:26:02,200
King, but remix is kind of 
there. 

486
00:26:02,300 --> 00:26:03,700
They have the ability to support
future react. 

487
00:26:03,700 --> 00:26:07,000
But they also cut took a kind of
stance, maybe about a year ago 

488
00:26:07,000 --> 00:26:10,300
or something so and they're 
like, you know, we love react. 

489
00:26:10,300 --> 00:26:12,200
We have right now. 
We'll just build a framework on 

490
00:26:12,200 --> 00:26:15,500
reactive ta and maybe we don't 
need what reacts shipping. 

491
00:26:15,500 --> 00:26:17,700
Maybe we don't need suspense 
like they don't use that, like 

492
00:26:17,700 --> 00:26:20,600
maybe we don't need streaming, 
maybe we don't need server 

493
00:26:20,600 --> 00:26:22,700
components. 
We can do exactly what you want 

494
00:26:22,700 --> 00:26:25,300
with reactive State and that's 
partially where this 

495
00:26:25,300 --> 00:26:28,700
conversation comes from because 
they're like Convince me that 

496
00:26:28,700 --> 00:26:30,600
I'm I need this other stuff 
that's coming. 

497
00:26:32,300 --> 00:26:35,800
So, does it does it kind of 
like, when we do all of these 

498
00:26:35,800 --> 00:26:39,800
comparisons, like this is it as 
straightforward at, like, even 

499
00:26:39,800 --> 00:26:42,600
when we bring this back up, 
like, even when we finally got 

500
00:26:42,600 --> 00:26:46,300
down to this and like, we were 
looking at Marco and salad and 

501
00:26:46,300 --> 00:26:51,600
remix, it's like, is this really
like, do I care about this point

502
00:26:51,600 --> 00:26:53,400
one? 
At the end of the day, right? 

503
00:26:53,500 --> 00:26:55,200
No. 
And and this, yeah, I mean, this

504
00:26:55,200 --> 00:26:59,000
was like, yeah, this point one 
was, was nothing really. 

505
00:26:59,000 --> 00:27:05,300
And, and, and the point is The 
problem is to emphasize the, the

506
00:27:05,300 --> 00:27:08,700
actual performance difference of
some of these technology and 

507
00:27:08,700 --> 00:27:12,400
streaming partial hydration. 
You just need a more substantial

508
00:27:13,100 --> 00:27:15,700
Benchmark. 
It's not, it's not that it 

509
00:27:15,700 --> 00:27:18,100
doesn't exist, which some people
in the thread were suggesting 

510
00:27:18,100 --> 00:27:20,000
you just, you need something 
that's, like, exaggerated like 

511
00:27:20,000 --> 00:27:22,300
when you in the Jays framework 
Benchmark, the one where the 

512
00:27:22,300 --> 00:27:24,100
beginning where I showed solid 
was like five percent slower, 

513
00:27:24,100 --> 00:27:29,200
the villages, we create 10,000 
rows, like like I don't like you

514
00:27:29,200 --> 00:27:31,500
shouldn't be creating 10,000 
rows in a list, you should be. 

515
00:27:31,600 --> 00:27:35,700
Using windowed virtualized 
seeing like, but maybe you can 

516
00:27:35,700 --> 00:27:38,500
approximate that two large page,
but even even that to be on, 

517
00:27:38,500 --> 00:27:40,900
that could even large Pages. 
You should probably shouldn't be

518
00:27:40,900 --> 00:27:44,900
getting above 20,000 elements 
and and, like, 10,000 rows and 

519
00:27:44,900 --> 00:27:48,800
that Benchmark is probably like 
50 thousand elements like, you 

520
00:27:48,800 --> 00:27:51,400
know what I mean? 
Like, it's not realistic, but 

521
00:27:51,400 --> 00:27:55,600
because of the ask, if you go 
back further about thread, I was

522
00:27:55,600 --> 00:27:58,300
like, okay, fine. 
There's a comments page on here 

523
00:27:58,300 --> 00:28:01,500
where someone went to react are 
some react post and had like, 

524
00:28:01,700 --> 00:28:06,900
1400, 1400. 
See you have all the demo links 

525
00:28:06,900 --> 00:28:08,900
here if you want to go to the 
ones that run for its use. 

526
00:28:08,900 --> 00:28:10,000
Oh yeah, that's right. 
Okay. 

527
00:28:10,000 --> 00:28:14,900
But but but but the thing is 
these demos that you see here 

528
00:28:14,900 --> 00:28:18,200
are all going to be basically 
the same like the point one, he 

529
00:28:18,200 --> 00:28:20,500
measured that one time. 
Is it whatever? 

530
00:28:20,500 --> 00:28:26,400
Right but but like if the the 
the thing is I went to that page

531
00:28:26,400 --> 00:28:28,300
that has fourteen hundred 
comments on react. 

532
00:28:28,300 --> 00:28:32,000
And and the thing is this page 
is stupid because Is, why are 

533
00:28:32,000 --> 00:28:35,500
you loading 1,400 comments with 
react, right? 

534
00:28:35,500 --> 00:28:38,800
Like like roast or any front-end
framework. 

535
00:28:39,100 --> 00:28:43,400
But the thing was with the 1400 
comments loaded on the page, you

536
00:28:43,400 --> 00:28:45,700
can see the difference between 
streaming and partial hydration 

537
00:28:45,700 --> 00:28:47,900
and not having them. 
And that was the. 

538
00:28:48,200 --> 00:28:51,600
If you do go further back up we 
can show this trying to find 

539
00:28:51,600 --> 00:28:53,500
that one here. 
I'll leave it on screen so it 

540
00:28:53,500 --> 00:28:54,400
can actually find. 
Yeah. 

541
00:28:54,900 --> 00:28:56,600
It was the one that you're 
showing earlier. 

542
00:28:56,700 --> 00:28:58,400
Yeah, these two. 
Yeah. 

543
00:28:58,400 --> 00:29:01,500
Okay. 
Stu the first ones on mobile and

544
00:29:01,700 --> 00:29:06,500
If you see the it color when 
it's Visual and it goes gray 

545
00:29:06,500 --> 00:29:10,700
when it's done hydrating. 
Yeah so under the TTI on, this 

546
00:29:10,800 --> 00:29:13,600
is what like everyone measures. 
That's the point of turns gray, 

547
00:29:13,600 --> 00:29:14,500
right? 
Yeah. 

548
00:29:15,800 --> 00:29:19,100
And if you like look double, 
yeah, and if you look at it, 

549
00:29:19,200 --> 00:29:22,200
even in terms of loading 
profile, not only the hydration 

550
00:29:22,200 --> 00:29:26,300
shorter in Marco, like it's done
before you even see anything and

551
00:29:26,300 --> 00:29:27,500
remix and these are the same 
demos. 

552
00:29:27,500 --> 00:29:29,200
This is not like caching or any 
secret. 

553
00:29:29,200 --> 00:29:34,900
This is literally the same page 
just as is and like on mobile 

554
00:29:34,900 --> 00:29:37,200
because the network is there 
constraint, you're not going to 

555
00:29:37,200 --> 00:29:38,600
see streaming. 
It's just going to kind of all 

556
00:29:38,600 --> 00:29:41,300
come in when it comes in. 
But if you look at the desktop 

557
00:29:41,300 --> 00:29:45,200
example, the second one here, 
what you see is Marco shows the 

558
00:29:45,200 --> 00:29:48,700
head Right away, then choose the
content and then Grace really 

559
00:29:48,700 --> 00:29:51,000
quickly. 
And the reason I wanted to show 

560
00:29:51,000 --> 00:29:55,200
that is because if I have 
crapped loading indicator in My 

561
00:29:55,200 --> 00:29:57,100
Demo, sorry. 
Like it's just, it's just the 

562
00:29:57,100 --> 00:29:59,100
header. 
But while we're showing that 

563
00:29:59,100 --> 00:30:01,700
header, we could have had like a
nice like Twitter. 

564
00:30:01,700 --> 00:30:06,500
Sure, you know, like we're gonna
graze, right? 

565
00:30:06,500 --> 00:30:09,500
So on the desktop, I think 
that's even more jarring 

566
00:30:09,500 --> 00:30:14,300
difference because you you can 
actually that it's very quick to

567
00:30:14,300 --> 00:30:17,700
see how Marco in that Ample just
shows up immediately and could 

568
00:30:17,700 --> 00:30:21,500
have nice, loading State and 
then it loads in and hydrates 

569
00:30:21,500 --> 00:30:23,800
almost immediately after some 
desktop, you have more CPU, 

570
00:30:23,800 --> 00:30:25,600
hydrogen doesn't take as long, 
you know? 

571
00:30:25,600 --> 00:30:29,900
So, essentially, that's when a 
cable modem to, like, it's a 

572
00:30:29,908 --> 00:30:34,700
decent internet connection and 
that change is still so huge 

573
00:30:34,700 --> 00:30:36,500
again. 
Stupid example, you shouldn't be

574
00:30:36,500 --> 00:30:40,500
loading 1400 comments at once, 
but this is what happens when 

575
00:30:40,500 --> 00:30:43,100
you have a large site when 
you're building eCommerce sites 

576
00:30:43,100 --> 00:30:46,400
like eBay or or you know, 
Amazon, you have lots of 

577
00:30:46,400 --> 00:30:49,700
comments or item listing details
of like stuff coming in from 

578
00:30:49,700 --> 00:30:51,800
like 10 different services and 
stuff and they all different 

579
00:30:51,800 --> 00:30:55,200
agencies. 
And essentially just saying like

580
00:30:55,400 --> 00:30:58,800
there is definitely a use case 
where you want to be able to 

581
00:30:58,800 --> 00:31:01,500
show some stuff sooner. 
It's not just loading the 

582
00:31:01,508 --> 00:31:04,400
headers, you know, which is the 
thing people talk about which 

583
00:31:04,400 --> 00:31:08,900
lets us, you know, start loading
the acid sooner but it's also 

584
00:31:10,000 --> 00:31:11,800
like loading stuff as it comes 
in. 

585
00:31:11,800 --> 00:31:14,500
Maybe you can start loading 
images earlier, you can start 

586
00:31:14,500 --> 00:31:16,700
learning load. 
I'm like actual pieces of the 

587
00:31:16,700 --> 00:31:20,000
rendering and this sort of 
progressive approach, kind of 

588
00:31:20,000 --> 00:31:22,800
the beautiful part. 
Is that at worst it's basically 

589
00:31:22,800 --> 00:31:25,100
the same as what block to render
Like Remix does. 

590
00:31:25,400 --> 00:31:29,600
But at best, you can get 
experience has almost the same 

591
00:31:29,600 --> 00:31:32,500
as like jam stack feeling where 
you get this instant response 

592
00:31:32,500 --> 00:31:35,100
from the server and the data 
loads in except you get to start

593
00:31:35,100 --> 00:31:37,900
fetching the data sooner like on
the server. 

594
00:31:37,900 --> 00:31:40,600
It's basically as close as you 
can get to. 

595
00:31:40,600 --> 00:31:43,300
Best of all worlds. 
Of course, there is a catch 

596
00:31:43,400 --> 00:31:46,300
because when you stream, you 
have to return The status code 

597
00:31:46,300 --> 00:31:49,400
right at the beginning. 
So there's challenges there and 

598
00:31:49,400 --> 00:31:51,900
new paradigms to come. 
But from a performance 

599
00:31:52,200 --> 00:31:54,900
perspective it's awesome to have
a solution that literally just 

600
00:31:54,900 --> 00:31:56,200
scales across the whole 
Spectrum. 

601
00:31:56,200 --> 00:31:58,500
Yeah, absolutely. 
Okay. 

602
00:31:58,500 --> 00:32:03,000
So let's dive in a little bit to
salad JS itself. 

603
00:32:03,000 --> 00:32:06,500
I think and I was I was waiting 
until we can make a little segue

604
00:32:06,500 --> 00:32:09,800
here, but asking for The Hacker 
News discussion. 

605
00:32:09,800 --> 00:32:15,000
So, Hacker News kind of came up 
last night or yesterday, I 

606
00:32:15,008 --> 00:32:18,200
think. 
I think this came out and it's 

607
00:32:18,200 --> 00:32:20,600
talking about Sal JS. 
Feels like what I always wanted 

608
00:32:20,600 --> 00:32:23,600
to react to be right. 
And so it's it's a fun little 

609
00:32:23,600 --> 00:32:26,300
comment thread feel like 
read-through for sure and I'm 

610
00:32:26,300 --> 00:32:28,800
sure you're dealing with a lot 
of it still today. 

611
00:32:28,800 --> 00:32:32,600
So luckily we had this podcast 
or unluckily for you, I don't 

612
00:32:32,600 --> 00:32:35,900
know your braids, it's actually 
really good. 

613
00:32:35,900 --> 00:32:40,000
I was actually post tweeted 
about this after I saw posted II

614
00:32:40,000 --> 00:32:42,000
was I was comfortable going to 
bed last night. 

615
00:32:42,000 --> 00:32:44,400
Sometimes when this happens I 
get like the, you know, The 

616
00:32:44,400 --> 00:32:45,800
Hacker News. 
Things always A break. 

617
00:32:45,800 --> 00:32:48,400
It like 10 p.m. at night and 
then I'm like, oh crap, I'm 

618
00:32:48,400 --> 00:32:50,600
gonna be up all night. 
I'm going to be like, trying to 

619
00:32:50,600 --> 00:32:54,400
respond to people and, you know,
not make this exceptions, but, 

620
00:32:54,700 --> 00:32:56,200
you know, there's a lot of 
neutral stuff. 

621
00:32:56,200 --> 00:32:59,300
There's a few negative ones, but
a lot of positive stuff to you 

622
00:32:59,300 --> 00:33:02,800
like this is a big shift people.
You know, there's always gonna 

623
00:33:02,800 --> 00:33:05,200
be like, 30% the comments. 
I have nothing to do with the 

624
00:33:05,200 --> 00:33:08,600
article, where someone's arguing
about hooks or arguing about how

625
00:33:08,600 --> 00:33:11,600
they like Java. 
You know, like or vanilla J's, 

626
00:33:11,900 --> 00:33:15,300
you know, you can make it like a
bingo scorecard to to catch a 

627
00:33:15,400 --> 00:33:17,200
Take off, in terms of the type 
of comments, you get. 

628
00:33:17,400 --> 00:33:21,900
But on the, on the whole, you 
know, people complain about the 

629
00:33:21,908 --> 00:33:24,500
ecosystem. 
You know, it's not as big. 

630
00:33:24,500 --> 00:33:27,300
And the people talk about real 
issues and talking about real 

631
00:33:27,300 --> 00:33:30,200
things, as a result of this 
article, which made me excited, 

632
00:33:30,200 --> 00:33:32,900
because in the past and Hacker 
News, it's been more of like, 

633
00:33:33,800 --> 00:33:37,700
you know, I've been called a lot
of funny things like, you know, 

634
00:33:37,800 --> 00:33:41,900
like basically, like in it to 
get the fame or what like the 

635
00:33:41,900 --> 00:33:44,600
somebody wants to be hired by 
Fang or like this, like like 

636
00:33:44,600 --> 00:33:47,300
like Stuff like that. 
And it's like, no, I was just 

637
00:33:47,300 --> 00:33:49,100
making framework. 
I've been doing this for like 

638
00:33:49,100 --> 00:33:53,500
five years, like, but this one, 
I can be frustrating. 

639
00:33:53,800 --> 00:33:56,900
It's so I think that the core of
the article though, like there's

640
00:33:56,900 --> 00:34:00,100
some really good, call-outs as 
far as salad goes. 

641
00:34:00,100 --> 00:34:04,100
So I think probably the most 
prevalent example that I've ever

642
00:34:04,100 --> 00:34:07,300
seen done it, which happens all 
the time, I would say, now that 

643
00:34:07,300 --> 00:34:09,400
we're kind of using hooks so 
much more. 

644
00:34:10,100 --> 00:34:14,199
This set count were count plus 
1, where count is already kind 

645
00:34:14,199 --> 00:34:20,300
of the Eight out here, right? 
This highlights if I go down so 

646
00:34:20,300 --> 00:34:23,300
this counter starts bouncing all
over the pretty Place. 

647
00:34:23,400 --> 00:34:26,900
Yeah maybe yeah, maybe not on 
this onebut. 

648
00:34:26,900 --> 00:34:30,000
The initial one if you if you 
forget to put, if you forget to 

649
00:34:30,007 --> 00:34:34,199
put the erroneous equals crazy. 
Yeah. 

650
00:34:34,699 --> 00:34:38,900
And so essentially we're trying 
to like re add a counter to 

651
00:34:38,900 --> 00:34:42,300
their original state plus add 
one and that state carries 

652
00:34:42,300 --> 00:34:46,300
through, and it gets really like
hard as a Especially like if 

653
00:34:46,300 --> 00:34:48,600
you're a newer Dev when this is 
happening, you're like, what is 

654
00:34:48,600 --> 00:34:51,699
going on and good? 
Call out here. 

655
00:34:51,699 --> 00:34:54,300
This is, this is kind of the 
form that I always recommend 

656
00:34:54,300 --> 00:34:56,400
using. 
If you have to do clean up 

657
00:34:56,400 --> 00:35:00,400
another way, that's fine too. 
But anytime you're using State 

658
00:35:00,400 --> 00:35:03,700
like that, like use a functional
piece, so you're passing that 

659
00:35:03,700 --> 00:35:06,900
value through the function and 
then actually updating. 

660
00:35:07,000 --> 00:35:10,100
So, yeah, the challenge will 
have runs deeper than this 

661
00:35:10,100 --> 00:35:11,700
though. 
Actually, it's funny that 

662
00:35:11,700 --> 00:35:15,200
because if you're using props, 
it's not just the local state 

663
00:35:15,200 --> 00:35:18,200
you Any kind of new variable in 
the closure has has has 

664
00:35:18,200 --> 00:35:21,600
potential to have this this 
problem, although most people 

665
00:35:21,600 --> 00:35:24,700
are better about about, you 
know, that kind of scenario, but

666
00:35:25,100 --> 00:35:28,800
because the, in terms of props 
can use to like it re-rendering 

667
00:35:28,800 --> 00:35:32,300
everything, conceptually maybe 
but props, and it's not just 

668
00:35:32,300 --> 00:35:34,300
like a functional thing gets you
out of most things. 

669
00:35:34,300 --> 00:35:36,400
But then once you try and 
Abstract it into another hook, 

670
00:35:36,700 --> 00:35:40,300
you now, like I use interval, 
you now have to consider stuff 

671
00:35:40,300 --> 00:35:41,900
like that. 
And that's why Danny worm 

672
00:35:41,900 --> 00:35:45,800
off-road a really, really good 
article where he I think it's 

673
00:35:45,800 --> 00:35:48,700
like a 15-minute read, where he 
literally goes through how to 

674
00:35:48,700 --> 00:35:53,300
make, use interval and react. 
And to be fair, I I've used this

675
00:35:53,300 --> 00:35:57,000
example, my first, my first 
public talk that I didn't saw JS

676
00:35:57,000 --> 00:35:58,700
was actually, basically, this 
article. 

677
00:35:59,600 --> 00:36:03,100
So was Every Act Finland last 
September. 

678
00:36:03,100 --> 00:36:07,200
And so, I'm very familiar with 
this example, because it is a 

679
00:36:07,200 --> 00:36:10,000
good way of illustrating the 
conceptual differences. 

680
00:36:10,000 --> 00:36:14,100
Even though I might argue that 
everything react does actually 

681
00:36:14,100 --> 00:36:18,100
make sense for react. 
And we might not should be so 

682
00:36:18,100 --> 00:36:20,700
critical of it but I definitely 
I mean this is one of the 

683
00:36:20,700 --> 00:36:25,000
reasons reactivity is great 
because it kind of like stuff 

684
00:36:25,000 --> 00:36:27,000
like this just comes much more 
naturally. 

685
00:36:27,800 --> 00:36:30,500
Yeah, for sure. 
So here's here's kind of the 

686
00:36:30,500 --> 00:36:33,900
difference on salad and maybe 
you can start to break down and 

687
00:36:33,900 --> 00:36:37,100
I'll bring up the the salad 
docks and we can talk about to. 

688
00:36:37,100 --> 00:36:41,300
But the kind of core difference 
here is this count being a 

689
00:36:41,300 --> 00:36:45,300
function on the solid side. 
Can you talk more about like, 

690
00:36:45,400 --> 00:36:48,900
What does that actually mean for
salad and how solid uses? 

691
00:36:49,300 --> 00:36:56,000
Yeah, the keep things to solid 
in terms of execution is We wrap

692
00:36:56,000 --> 00:36:59,400
every not every expression 
granularly but generally, it's 

693
00:36:59,400 --> 00:37:01,400
easier in your head to think of 
it that way. 

694
00:37:02,200 --> 00:37:05,500
We wrapped each expression that 
changes independently. 

695
00:37:05,500 --> 00:37:11,700
So in awe, and in order to track
it though, we have to know what 

696
00:37:11,700 --> 00:37:17,400
it depends on essentially. 
This idea of like like if you 

697
00:37:17,400 --> 00:37:22,000
have a count in your Dom and you
want it to update some text, you

698
00:37:22,000 --> 00:37:24,600
need to know that this text in 
this. 

699
00:37:24,800 --> 00:37:26,500
Application, depends on that 
count. 

700
00:37:26,800 --> 00:37:33,000
And the way we do that is 
through generally function calls

701
00:37:33,000 --> 00:37:35,100
but it could be a proxy 
basically some way of 

702
00:37:35,100 --> 00:37:39,700
intercepting accessing it. 
So at any point where we access 

703
00:37:39,700 --> 00:37:45,300
that value, then we can go o in 
this execution scope wherever 

704
00:37:45,300 --> 00:37:48,500
it's running. 
It cares about this value. 

705
00:37:48,500 --> 00:37:53,600
It's very similar to some State 
libraries and react like Joe tie

706
00:37:53,600 --> 00:37:58,400
and like, Was a belt Eli Kemper.
Say right ma backs. 

707
00:37:58,400 --> 00:38:01,900
Even we're they look at where 
stuffs used, but the difference 

708
00:38:01,900 --> 00:38:07,200
is they just re-render the whole
component and whatever comes 

709
00:38:07,700 --> 00:38:12,100
down stream of that. 
And in solid, we just focus on 

710
00:38:12,600 --> 00:38:17,200
the very specific locations. 
The Binding so do that. 

711
00:38:17,200 --> 00:38:20,800
Pinpoint update like if the text
in that div and in. 

712
00:38:20,800 --> 00:38:24,600
So in order to make sure that we
access everything in the right, 

713
00:38:24,800 --> 00:38:28,500
Ace everything's kind of lazily 
evaluate is my best way of 

714
00:38:28,500 --> 00:38:29,700
putting it. 
That's why their functions. 

715
00:38:29,700 --> 00:38:32,300
Essentially, you don't want to 
access count ahead of time 

716
00:38:32,400 --> 00:38:36,600
because then we it's much 
further away from where we use 

717
00:38:36,600 --> 00:38:38,600
it. 
If you can get that as close as 

718
00:38:38,600 --> 00:38:40,900
possible to where we use it, 
that means the least amount of 

719
00:38:40,908 --> 00:38:46,100
work we have to do and 
essentially in this algaecide, 

720
00:38:46,800 --> 00:38:49,600
can you talk about the 
differences in react for like 

721
00:38:49,600 --> 00:38:51,900
use effect? 
And how that works on? 

722
00:38:51,900 --> 00:38:55,200
SOL G has. 
Yeah, the thing is This 

723
00:38:55,200 --> 00:38:58,000
automatic tracking means we 
don't need dependency arrays and

724
00:38:58,000 --> 00:39:00,500
in fact, it's more powerful than
not needing dependency raise 

725
00:39:00,500 --> 00:39:03,300
because someone will point out 
to you, they'll be like, oh well

726
00:39:03,300 --> 00:39:05,500
you know, they'll be a compiler 
someday that compiles in the 

727
00:39:05,508 --> 00:39:08,700
dependency rates sure. 
But it's not, it's not about 

728
00:39:08,700 --> 00:39:09,700
that. 
It's actually that the 

729
00:39:09,707 --> 00:39:13,000
dependencies are dynamic. 
They can actually change on the 

730
00:39:13,000 --> 00:39:16,300
Fly based on what is required. 
And what is, what is used. 

731
00:39:16,900 --> 00:39:20,100
Maybe that's hard without like 
visualizing it, but essentially,

732
00:39:21,300 --> 00:39:28,500
At any point any effector I call
the computation knows what data 

733
00:39:28,500 --> 00:39:32,600
it depends on and at that point 
in time so it knows that it 

734
00:39:32,600 --> 00:39:34,200
needs to change at that point. 
And that means if there's 

735
00:39:34,200 --> 00:39:36,800
conditional logic in your 
effects and stuff like that, we 

736
00:39:36,800 --> 00:39:39,700
can actually based on the 
current state of the app, know 

737
00:39:39,700 --> 00:39:43,500
exactly what changes matter. 
Like if you're showing say 

738
00:39:43,500 --> 00:39:45,100
someone's full name, that's a 
terrible example. 

739
00:39:45,100 --> 00:39:47,700
It's the one that everyone uses,
you know, on, on the screen. 

740
00:39:47,700 --> 00:39:50,500
And you change the last name 
will, you know, you need to 

741
00:39:50,800 --> 00:39:52,300
update. 
In change that the full name 

742
00:39:52,300 --> 00:39:53,400
because the last name depends on
that. 

743
00:39:53,400 --> 00:39:56,300
But if you had some way of 
toggling it, like changing, so 

744
00:39:56,300 --> 00:39:59,500
that you only showed the first 
name and not the full name at 

745
00:39:59,500 --> 00:40:01,700
that point. 
If you're showing the first 

746
00:40:01,700 --> 00:40:06,000
name, if you go and update the 
last name, nothing needs to run 

747
00:40:06,200 --> 00:40:11,100
and that's like a huge 
difference in terms of execution

748
00:40:11,100 --> 00:40:12,800
to. 
I mean it's not the biggest on 

749
00:40:12,800 --> 00:40:14,700
performance because you know, 
shallow dipping and stuff. 

750
00:40:14,700 --> 00:40:17,100
I mean I'm getting a little 
technical map but generally 

751
00:40:17,100 --> 00:40:20,000
speaking just on the whole 
concept of what actually reruns,

752
00:40:20,100 --> 00:40:22,800
it's this very Annular. 
It's like only what needs to 

753
00:40:22,800 --> 00:40:25,000
rerun? 
And and this is this is a big 

754
00:40:25,000 --> 00:40:28,400
departure, right? 
And but it's like alternately in

755
00:40:28,400 --> 00:40:30,000
react. 
You're basically re-rendering 

756
00:40:30,000 --> 00:40:32,000
the entire tree at that point, 
right? 

757
00:40:32,200 --> 00:40:34,600
Well it's or at least a 
subsection of the tree from 

758
00:40:34,600 --> 00:40:37,100
triumphant from that point 
downwards and then we can use 

759
00:40:37,100 --> 00:40:39,800
memos and smart ways and you can
build a compiler. 

760
00:40:39,800 --> 00:40:41,600
Perhaps that memorizes 
everything. 

761
00:40:42,100 --> 00:40:46,300
But like in solid it just that 
just kind of happens because the

762
00:40:46,300 --> 00:40:49,400
granularity is kind of built in 
so like I enjoyed that. 

763
00:40:49,400 --> 00:40:51,000
I mean react forget came out and
there. 

764
00:40:51,100 --> 00:40:57,200
That whole discussion and then 
I've rebuilt the demo using some

765
00:40:57,500 --> 00:40:59,900
technology. 
Actually copied view a view, has

766
00:40:59,900 --> 00:41:02,400
a very similar reactive system 
to solve and except that feeds 

767
00:41:02,400 --> 00:41:04,100
into a veto. 
I'm like, react and I copied the

768
00:41:04,107 --> 00:41:06,100
example and I was like pretty 
happy with it. 

769
00:41:06,100 --> 00:41:08,700
I'm like, yeah, and avenues. 
Look no fancy compiler. 

770
00:41:08,700 --> 00:41:10,500
We can just do this, right? 
I'm like, yeah, no offense. 

771
00:41:10,500 --> 00:41:12,400
Come on, we can do this. 
And then I looked at the example

772
00:41:12,400 --> 00:41:15,900
and I was like, we still have 
that computed in view where that

773
00:41:16,100 --> 00:41:19,100
create memo and solid as looking
at it and it's like no this 

774
00:41:19,100 --> 00:41:20,800
example doesn't even need a 
memo. 

775
00:41:21,000 --> 00:41:23,600
I just remove the whole memo, 
that started the whole 

776
00:41:23,600 --> 00:41:27,700
conversation and it's still work
granularly. 

777
00:41:27,700 --> 00:41:30,700
So that's kind of the one of the
differences. 

778
00:41:30,700 --> 00:41:36,000
It's just like innately designed
to, to kind of solve that 

779
00:41:36,000 --> 00:41:37,800
problem without any like special
pilot. 

780
00:41:37,800 --> 00:41:41,500
You can argue that the jsx is a 
special compiler, but that's not

781
00:41:41,500 --> 00:41:43,300
the same as the runtime 
reactivity. 

782
00:41:43,300 --> 00:41:47,600
It's just like, the, the jsx is 
only special because of the for 

783
00:41:47,600 --> 00:41:49,800
two reasons. 
Because obviously, we generate 

784
00:41:49,800 --> 00:41:53,400
real Dom nodes. 
So there's some benefits to 

785
00:41:53,400 --> 00:41:56,900
being able to like do some Dom 
specific stuff on the 

786
00:41:56,900 --> 00:41:59,300
compilation of what for the 
native elements, like the 

787
00:41:59,300 --> 00:42:02,700
lowercase tags like the divs and
the second thing is that our 

788
00:42:02,707 --> 00:42:08,500
component props, get a little 
transformed, to do lazy 

789
00:42:08,500 --> 00:42:10,300
evaluations to become functions 
essentially. 

790
00:42:10,300 --> 00:42:12,500
So even though you don't see it 
because we use Getters 

791
00:42:12,600 --> 00:42:15,500
essentially, we just have to do 
a little extra wrapping but 

792
00:42:15,500 --> 00:42:18,900
beyond that solves components 
like the actual components of 

793
00:42:18,908 --> 00:42:22,300
those are just functions. 
So it Does have that sort of in 

794
00:42:22,300 --> 00:42:26,400
common with with jsx or like 
vdom libraries and let the 

795
00:42:26,400 --> 00:42:29,200
component costs are very, very 
low because you just calling 

796
00:42:29,200 --> 00:42:33,100
these functions. 
Yeah, I think I just want to 

797
00:42:33,300 --> 00:42:35,800
dive back. 
Just like we went kind of in a 

798
00:42:35,800 --> 00:42:38,500
little bit of a circular but I 
just want to come back to this. 

799
00:42:38,500 --> 00:42:42,100
And another part of cell J is 
when we start talking about, if 

800
00:42:42,100 --> 00:42:46,200
you were to see this specific 
example in react where this has 

801
00:42:46,200 --> 00:42:50,600
this console.log, anytime that 
counter update occurred, you 

802
00:42:50,600 --> 00:42:52,500
would see. 
And correct me if I'm wrong. 

803
00:42:52,500 --> 00:42:55,200
I'm terrible. 
I react, you would see this 

804
00:42:55,200 --> 00:42:58,500
console.log multiple times, like
usually have three times, right?

805
00:43:00,800 --> 00:43:02,400
I mean each time. 
Yeah. 

806
00:43:02,400 --> 00:43:04,700
It depends on the what the said 
I think. 

807
00:43:04,700 --> 00:43:08,700
Actually, for this example it 
wouldn't be that bad. 

808
00:43:08,700 --> 00:43:12,000
I mean there are situations, 
there's the problem three acts 

809
00:43:12,000 --> 00:43:14,100
and in terms of the side is it? 
Something just like some 

810
00:43:14,100 --> 00:43:15,900
libraries you. 
There's a use strict which runs 

811
00:43:15,900 --> 00:43:18,700
everything like twice anyways. 
And then like, so, like, by the 

812
00:43:18,700 --> 00:43:19,700
end of it, you might have 
multiple. 

813
00:43:19,700 --> 00:43:24,200
I think for this one, this isn't
a quiz, by the way, just trust 

814
00:43:24,200 --> 00:43:25,500
us. 
You'll see it more than once. 

815
00:43:26,100 --> 00:43:29,000
Yeah, on the solid side of 
things do salad. 

816
00:43:29,200 --> 00:43:33,000
Is the fact that count is a 
function within itself and 

817
00:43:33,000 --> 00:43:35,000
that's the only thing that's 
changing, right? 

818
00:43:35,100 --> 00:43:39,200
Yeah, so every time this set 
interval actually updates set 

819
00:43:39,200 --> 00:43:42,100
count, and you'll notice on this
example, folks, we don't have 

820
00:43:42,100 --> 00:43:45,800
use effect in here like react 
would, so that's another 

821
00:43:45,800 --> 00:43:48,800
difference to call out here. 
But this function right here 

822
00:43:48,800 --> 00:43:53,100
where the count is count and 
it's returning that value that's

823
00:43:53,100 --> 00:43:57,100
currently in the the count. 
Do I say State at that point? 

824
00:43:57,100 --> 00:44:00,200
Sure, sure. 
That's what's kind of being 

825
00:44:00,200 --> 00:44:04,200
updated and you won't get this 
like reactive tree, re-render 

826
00:44:04,200 --> 00:44:07,200
piece that will throw out this 
console.log multiple times. 

827
00:44:07,200 --> 00:44:11,100
Yeah I mean solid will run that 
log only once right? 

828
00:44:11,100 --> 00:44:14,700
React will run it at least once 
every update cycle. 

829
00:44:14,700 --> 00:44:17,800
So every time the count takes, 
it will keep on Console logging 

830
00:44:17,800 --> 00:44:19,400
out. 
There is something missing in 

831
00:44:19,400 --> 00:44:22,900
this demo that sometimes like I 
love fairness and equal 

832
00:44:22,900 --> 00:44:25,600
comparison here. 
And I think that sometimes when 

833
00:44:25,600 --> 00:44:28,300
we do this and a lot of stuff 
around, stalls is all equally 

834
00:44:28,300 --> 00:44:30,500
guilty. 
Or maybe more guilty of this 

835
00:44:30,500 --> 00:44:31,700
where it's because I just go, 
oh, look. 

836
00:44:31,700 --> 00:44:34,800
It's like count and done is that
there is one piece missing? 

837
00:44:35,000 --> 00:44:38,100
This example, does not have 
clean up in it and I think 

838
00:44:38,100 --> 00:44:40,700
that's unfair characterization 
because if the counter ever 

839
00:44:40,700 --> 00:44:44,200
gotten like unmounted here, that
that interval is going to still 

840
00:44:44,200 --> 00:44:47,900
keep on going on forever. 
So there should be an what's 

841
00:44:47,900 --> 00:44:50,200
missing in that code is and on 
cleanup call. 

842
00:44:50,200 --> 00:44:54,100
There is we have in react, when 
you create effects that returns 

843
00:44:54,100 --> 00:44:59,400
a function, that's a cleanup in 
solid because the way All things

844
00:44:59,400 --> 00:45:01,500
are connected. 
We just have an unclean up call,

845
00:45:01,500 --> 00:45:04,200
and it has nothing to do with 
components, which probably is a 

846
00:45:04,200 --> 00:45:09,500
bit of a mind thing. 
But the reason is essentially we

847
00:45:09,500 --> 00:45:12,500
need to be able to register on 
cleanup anywhere during the 

848
00:45:12,500 --> 00:45:15,700
exit, synchronous execution, 
because technically in solid, 

849
00:45:15,700 --> 00:45:18,300
everything is just nested 
effects, like it's a different 

850
00:45:18,300 --> 00:45:20,100
mental model, react. 
You have this kind of pure 

851
00:45:20,100 --> 00:45:23,800
execution, that outputs, you 
know, data stayed in, whatever 

852
00:45:23,800 --> 00:45:29,000
and outputs this D Dom that we 
can stiffed him patched. 

853
00:45:29,100 --> 00:45:31,600
Updated. 
And I've almost the way you kind

854
00:45:31,600 --> 00:45:35,400
of register these side effects. 
These hooks as components 

855
00:45:35,400 --> 00:45:39,100
re-render. 
So you know, you have your use 

856
00:45:39,100 --> 00:45:41,100
effect on whatever I'll side, 
you know, if you didn't need to 

857
00:45:41,100 --> 00:45:43,800
use effect. 
But technically that's because 

858
00:45:43,800 --> 00:45:47,000
the whole component rendered is 
kind of seen as solids version 

859
00:45:47,000 --> 00:45:49,500
of the effect would, in which it
only reruns when it needs to. 

860
00:45:49,500 --> 00:45:52,900
And in the case of our 
component, that's mounted top 

861
00:45:52,900 --> 00:45:56,900
level in, never needs to write 
and I think, but if it was 

862
00:45:56,900 --> 00:45:59,400
conditional, something above it 
changed, will then Then it's 

863
00:45:59,400 --> 00:46:02,500
possible that it needs to be 
unmounted or needs change. 

864
00:46:02,500 --> 00:46:06,200
And at that point, those clean 
up many things that you register

865
00:46:06,200 --> 00:46:08,100
need to be run. 
So solid has an on cleanup 

866
00:46:08,100 --> 00:46:11,300
because technically, that on 
cleanup can be run top level in 

867
00:46:11,308 --> 00:46:14,000
the component, can be run inside
an effect because it's all just 

868
00:46:14,000 --> 00:46:17,100
the same thing. 
I think this is is again, it's 

869
00:46:17,100 --> 00:46:19,300
one of those visualizing things.
I think it's always hard when 

870
00:46:19,300 --> 00:46:23,100
you show people it like solid 
react, kind of, when I kind of 

871
00:46:23,100 --> 00:46:25,600
decompose it into like a bunch 
of nested, it create effects, 

872
00:46:25,800 --> 00:46:28,900
they're just like, what? 
But it's that it actually just 

873
00:46:29,100 --> 00:46:32,300
And of works. 
It means that components aren't 

874
00:46:32,300 --> 00:46:37,800
the thing that you scale with so
much as, as like the structural 

875
00:46:39,800 --> 00:46:42,000
Dynamics ISM like conditionals 
and Loops. 

876
00:46:42,000 --> 00:46:44,700
That's where the loading points.
If you think about it for a 

877
00:46:44,700 --> 00:46:47,300
moment, if you don't have 
something above conditional, 

878
00:46:47,600 --> 00:46:49,400
you're never going to unmount 
something. 

879
00:46:49,400 --> 00:46:52,400
So if that's really where all 
the cleanup happens at the 

880
00:46:52,400 --> 00:46:55,300
points, like when you, when you 
conditionally render something 

881
00:46:55,300 --> 00:46:58,500
or you iterate over Loops, 
that's the only place where 

882
00:46:58,500 --> 00:47:00,200
where We actually need a new 
context. 

883
00:47:00,200 --> 00:47:02,900
We don't need to bring this new 
kind of context in it. 

884
00:47:02,900 --> 00:47:05,400
Every component and that's one 
of the overheads, a lot of 

885
00:47:05,400 --> 00:47:08,900
reactive libraries have and that
that I intentionally avoided 

886
00:47:08,900 --> 00:47:12,300
with solid was this idea that we
need to make every component and

887
00:47:12,300 --> 00:47:15,300
observer. 
It's a performance thing. 

888
00:47:15,300 --> 00:47:18,600
But yeah, that makes sense. 
I just I want to show just the 

889
00:47:18,600 --> 00:47:21,600
last piece of this and then 
we'll jump over to our perfect 

890
00:47:21,600 --> 00:47:25,500
picks and kind of do some Q&A. 
So this is kind of the final 

891
00:47:25,500 --> 00:47:29,500
example that we have out here 
from Nick and it's got This 

892
00:47:29,500 --> 00:47:31,600
piece which is super intriguing 
to me. 

893
00:47:32,200 --> 00:47:35,100
So we've got console.log for a 
damn update. 

894
00:47:35,100 --> 00:47:39,400
A, and the only thing in here is
false and then the count 1, 

895
00:47:39,400 --> 00:47:44,200
which is this damn update be and
this is all one div block, which

896
00:47:44,200 --> 00:47:48,600
still blows my mind a little 
bit, you will get Dom update a 

897
00:47:48,600 --> 00:47:51,400
one-time and as that counter 
goes, you will get update. 

898
00:47:51,400 --> 00:47:55,500
Be update, be update. 
Be which that's the magic if you

899
00:47:55,500 --> 00:48:00,200
ask me in the whole thing. 
Yeah, it's Surprisingly unique, 

900
00:48:00,200 --> 00:48:03,500
I mean, reactivity, like 
everyone makes those examples 

901
00:48:03,500 --> 00:48:07,200
like the, like, if you use small
backs or solid, like, where you 

902
00:48:07,200 --> 00:48:10,100
kind of like just update what 
changes, you know, like like 

903
00:48:10,100 --> 00:48:11,800
the, you know, you console.log 
something. 

904
00:48:12,100 --> 00:48:15,900
But no, like knockout kind of 
did this a bit back in the day 

905
00:48:15,900 --> 00:48:18,600
but almost no modern Library. 
Actually applies. 

906
00:48:18,600 --> 00:48:22,200
Reactivity, to the actual view 
updates, they kind of put it 

907
00:48:22,200 --> 00:48:25,900
into a component level system, 
or a vdom, or some other level. 

908
00:48:26,000 --> 00:48:29,000
And yeah, I mean, how do you 
like at least? 

909
00:48:29,100 --> 00:48:32,300
A performance standpoint. 
Like how do you match that the 

910
00:48:32,300 --> 00:48:36,200
ability to just like, literally 
go, oh, that text node now, you 

911
00:48:36,200 --> 00:48:39,200
know, and and that example is 
great because that's the only 

912
00:48:39,200 --> 00:48:41,200
way I can never show it. 
It was that was the problem I 

913
00:48:41,207 --> 00:48:43,900
had with the react forget demo 
that I made to as like, how do I

914
00:48:43,900 --> 00:48:46,600
show that things aren't changing
when they're not changing its 

915
00:48:46,600 --> 00:48:49,400
greatly. 
But the thing is this extent 

916
00:48:49,400 --> 00:48:52,200
because of the why I mentioned 
for with the components, like 

917
00:48:52,200 --> 00:48:54,000
the proxy getting kind of 
wrapped and Getters and all the 

918
00:48:54,000 --> 00:48:57,400
way down, it doesn't matter. 
You break your component up into

919
00:48:57,700 --> 00:49:00,200
12 components. 
Prop drill through the whole 

920
00:49:00,200 --> 00:49:03,700
tree use context. 
It it doesn't matter at the end 

921
00:49:03,700 --> 00:49:06,500
because it's all lazy evaluated 
at the, you're going to end up 

922
00:49:06,500 --> 00:49:09,100
somewhere down in the tree at 
div, that is reading that 

923
00:49:09,100 --> 00:49:11,500
context reading that store and 
it goes, okay. 

924
00:49:11,500 --> 00:49:14,100
I'm going to execute and sure it
might call in a couple extra 

925
00:49:14,100 --> 00:49:18,300
function rappers up the tree but
essentially it will find that 

926
00:49:18,300 --> 00:49:21,200
signal no matter where it is 
because it's run time and it'll 

927
00:49:21,200 --> 00:49:23,000
go. 
Ok, I care when this one changes

928
00:49:23,000 --> 00:49:25,400
and then if somewhere else, 
somewhere else in the tree 

929
00:49:25,400 --> 00:49:29,700
someone goes, okay, I've updated
this one value then, Almost like

930
00:49:29,700 --> 00:49:34,400
laser beam straight to that one.
Not just component that one text

931
00:49:34,400 --> 00:49:37,200
node in the Dom and go. 
Okay, you update your text, 

932
00:49:37,500 --> 00:49:42,100
doesn't matter 12 components, 
one text, note updated, so I'm 

933
00:49:42,100 --> 00:49:44,200
kind of curious. 
I'd be remiss if I didn't ask a 

934
00:49:44,207 --> 00:49:47,500
question about quick. 
How similar like does quick 

935
00:49:47,500 --> 00:49:51,900
correlate with that update? 
Is that like HTML would occur? 

936
00:49:51,900 --> 00:49:55,200
And then as it needed updated 
with load the JavaScript 

937
00:49:55,200 --> 00:49:57,500
required, whereas salad would 
already have it. 

938
00:49:57,900 --> 00:50:00,800
Yeah, I mean Rick is kind of 
been optimized for this lazy 

939
00:50:00,800 --> 00:50:02,600
loading case. 
And I think it's interesting 

940
00:50:02,600 --> 00:50:07,000
because obviously when things 
get large enough, you do want to

941
00:50:07,000 --> 00:50:09,700
Lazy load. 
But in general with quick, if 

942
00:50:09,700 --> 00:50:13,800
you, yeah, it's aware of the 
component level dependencies at 

943
00:50:13,808 --> 00:50:15,800
least, right? 
It's not as fine great, it has a

944
00:50:15,800 --> 00:50:17,700
finer reactive system but it's 
not as fine grade in the 

945
00:50:17,700 --> 00:50:19,900
rendering at least. 
Currently there's been 

946
00:50:19,900 --> 00:50:23,400
discussions about that. 
Sure and talk but we're in Alpha

947
00:50:23,400 --> 00:50:28,000
will get there but but one of 
the things is like essentially 

948
00:50:28,300 --> 00:50:30,200
it will destroy. 
Stir the say this component 

949
00:50:30,200 --> 00:50:33,200
needs a change can also link to 
view is probably similar mob, 

950
00:50:33,200 --> 00:50:36,300
exploit react. 
So somewhere else, you basically

951
00:50:36,300 --> 00:50:38,000
update that and then we'll go, 
okay? 

952
00:50:38,200 --> 00:50:42,800
This component care is about it.
Load the code, we need for that 

953
00:50:42,800 --> 00:50:45,600
component at that time. 
Now obviously this is a lay with

954
00:50:45,600 --> 00:50:48,200
lazy loading stuff so in some 
cases with quick you will want 

955
00:50:48,200 --> 00:50:52,400
to preload it and bundle 
appropriately to to do that. 

956
00:50:52,400 --> 00:50:56,700
But yeah, essentially once quick
is the in the browser today, 

957
00:50:56,700 --> 00:50:58,800
it's basically a vdom with a 
fine. 

958
00:50:59,000 --> 00:51:00,700
Green reactive system feeding 
into it. 

959
00:51:00,700 --> 00:51:04,900
So it's a very similar to view 
that makes it's totally. 

960
00:51:05,600 --> 00:51:08,800
So folks that are watching on 
YouTube, feel free to throw your

961
00:51:08,800 --> 00:51:10,800
questions in. 
We're going to do a quick 

962
00:51:10,800 --> 00:51:15,700
perfect picks piece where we 
just do fun pics for the day and

963
00:51:16,000 --> 00:51:19,500
we hopefully we can get to Q&A 
after for all your questions. 

964
00:51:19,500 --> 00:51:22,000
So I'll go first because I know 
I put it right on the spot 

965
00:51:22,000 --> 00:51:24,400
before we started if he had any 
fun pics. 

966
00:51:24,400 --> 00:51:29,500
So my first one which is 
probably one he'll be Happy with

967
00:51:29,500 --> 00:51:32,800
is solid hack. 
I didn't know this was going on.

968
00:51:33,000 --> 00:51:35,900
I should probably have follow 
solid JS, Twitter, feed a little

969
00:51:35,900 --> 00:51:40,100
more something but there's this 
cool competition going on with 

970
00:51:40,100 --> 00:51:45,400
salad and there's 37 days left. 
I apparently Builders also 

971
00:51:45,400 --> 00:51:50,400
organized her partner. 
I don't know giving away some as

972
00:51:50,400 --> 00:51:53,000
well. 
So there's a competition. 

973
00:51:53,000 --> 00:51:56,300
Basically, you're building your 
own cool site using solid. 

974
00:51:56,300 --> 00:51:58,900
Yes. 
And there's going to be, was it 

975
00:51:59,000 --> 00:52:00,600
L've thousand. 
Yeah here yeah. 

976
00:52:00,800 --> 00:52:03,400
Twelve thousand dollars to give 
away for project. 

977
00:52:03,400 --> 00:52:06,800
So that's my first perfect 
picked because that sounds 

978
00:52:06,800 --> 00:52:09,500
awesome. 
My second one which we were kind

979
00:52:09,500 --> 00:52:13,500
of just talking about a little 
bit is Ryan and mieszko kind of 

980
00:52:13,500 --> 00:52:16,500
talking about quick and you guys
broke it down better than even 

981
00:52:16,500 --> 00:52:18,500
when you just goes on here for 
the Pod. 

982
00:52:18,500 --> 00:52:22,000
So it was it was pretty amazing.
I think part of that is probably

983
00:52:22,000 --> 00:52:25,300
how far Quicks made it in the 
last six months to so there's 

984
00:52:25,700 --> 00:52:28,400
there's a lot going on there but
great talk between the two. 

985
00:52:29,800 --> 00:52:32,500
Ryan, did you have any any 
perfect pick? 

986
00:52:32,500 --> 00:52:34,400
You want to show off or talk 
about? 

987
00:52:34,500 --> 00:52:35,700
I'm just gonna throw this out 
here. 

988
00:52:35,700 --> 00:52:38,100
This is like completely off 
topic but I mean you were 

989
00:52:38,100 --> 00:52:39,300
mentioning like TV show their 
stuff. 

990
00:52:39,300 --> 00:52:42,200
You watch these things like I'm 
like super stoked that sci-fi 

991
00:52:42,200 --> 00:52:44,600
Science, Fiction and Fantasy and
stuff has been coming in with 

992
00:52:44,600 --> 00:52:48,000
like this fall was great you 
know with stuff like even if 

993
00:52:48,000 --> 00:52:50,500
it's like how the best adaptions
things like will of time 

994
00:52:50,900 --> 00:52:54,600
Foundation, even the new movie 
I've been like I do it's see but

995
00:52:54,600 --> 00:53:00,100
but I'm just a Sci-Fi guy at 
heart and I liked a lot of You 

996
00:53:00,100 --> 00:53:04,800
know, almost like cheesy 90s 
comedy kind of sci-fi type stuff

997
00:53:04,900 --> 00:53:09,500
and some Joss whedon's earlier 
work and I've been watching a 

998
00:53:09,500 --> 00:53:14,800
resident alien with Alan Tudyk 
and and honestly, maybe not 

999
00:53:14,800 --> 00:53:16,500
everyone's cup of tea. 
It's just it's a comedy. 

1000
00:53:16,700 --> 00:53:18,900
But I've always been a big fan 
of the actor. 

1001
00:53:18,900 --> 00:53:21,000
He was, he was in Firefly back 
in the day. 

1002
00:53:21,500 --> 00:53:25,300
It's just, it's on, it's on, I 
believe sci-fi and it's on that 

1003
00:53:25,300 --> 00:53:31,300
second season. 
It's but yeah, that's him in the

1004
00:53:31,300 --> 00:53:36,600
blue with a blue background. 
But yeah, like it's, it's just a

1005
00:53:36,900 --> 00:53:40,900
dumb comedy but I don't know. 
I have to ask. 

1006
00:53:40,900 --> 00:53:42,500
Did you watch Fringe when I was 
up? 

1007
00:53:42,700 --> 00:53:44,100
Yeah, I've I watched all of 
friends. 

1008
00:53:44,100 --> 00:53:47,100
Yeah, I love Fringe. 
And yeah tear doing comic. 

1009
00:53:47,100 --> 00:53:49,200
Can't wait for the second tuned 
to come out. 

1010
00:53:49,200 --> 00:53:53,000
I feel like it's only a part of 
what's happening for for me. 

1011
00:53:54,200 --> 00:53:57,400
Seeing Foundation was big, Isaac
asimov's, my favorite author. 

1012
00:53:57,400 --> 00:54:01,900
Well for, for all time. 
I've been rereading his books 

1013
00:54:01,900 --> 00:54:04,200
and actually had never read a 
couple of them as from his 

1014
00:54:04,200 --> 00:54:06,300
Empire series and I got them for
Christmas and I've been 

1015
00:54:06,300 --> 00:54:08,200
rereading them. 
So I guess that's my second 

1016
00:54:08,200 --> 00:54:10,200
pick. 
It's old. 

1017
00:54:10,200 --> 00:54:13,800
You can tell Jordan 1950s but he
has this a way with this 

1018
00:54:13,800 --> 00:54:16,800
writing, that's so clever. 
The TV show, diverted from it, 

1019
00:54:16,900 --> 00:54:20,500
which is fine because I felt 
like it's almost impossible to 

1020
00:54:20,500 --> 00:54:23,400
make Foundation into any kind of
long-running media because 

1021
00:54:23,400 --> 00:54:26,300
there's a collection of short 
stories and they kind of somehow

1022
00:54:26,300 --> 00:54:28,200
pulled it off in his show. 
That's going to its own right 

1023
00:54:28,200 --> 00:54:34,400
but generally speaking. 
Yeah, azimoff is what got me 

1024
00:54:34,600 --> 00:54:37,000
into science fiction. 
I guess I was already being some

1025
00:54:37,000 --> 00:54:40,500
fantasy stuff but just he just 
sucks so much cleverness in the 

1026
00:54:40,500 --> 00:54:44,600
writing and thinking, he just 
makes things like seem obvious 

1027
00:54:44,600 --> 00:54:47,200
after the fact and makes the 
reader feel clever for for 

1028
00:54:47,200 --> 00:54:48,800
reading it and figuring it out 
and stuff. 

1029
00:54:48,800 --> 00:54:51,000
So I, yeah. 
I'm big fan of that. 

1030
00:54:51,100 --> 00:54:53,700
Cool. 
So quick Q&A. 

1031
00:54:53,700 --> 00:54:55,700
Hopefully, we'll have time. 
Ryan yourself some more time? 

1032
00:54:55,700 --> 00:54:56,700
I hope. 
Oh, yeah, of course. 

1033
00:54:56,700 --> 00:54:59,900
Okay, cool. 
Butcher this name. 

1034
00:54:59,900 --> 00:55:03,500
But a bitty bitty, I think, 
says, please tell us about solid

1035
00:55:03,500 --> 00:55:05,300
start. 
Yeah, no. 

1036
00:55:05,300 --> 00:55:08,300
I've been working on this. 
And the funny thing is these 

1037
00:55:08,300 --> 00:55:11,300
things can are moving targets. 
Essentially, this is a meta 

1038
00:55:11,300 --> 00:55:14,200
framework first party. 
You know, built by people 

1039
00:55:14,200 --> 00:55:17,100
working on solid teak or team 
people. 

1040
00:55:17,500 --> 00:55:20,200
Active Community people in the 
community to build a meta. 

1041
00:55:20,200 --> 00:55:27,700
Framework likes felt kit or like
remix or like next and it's I 

1042
00:55:27,700 --> 00:55:30,800
started it last. 
Last February I but the truth 

1043
00:55:30,800 --> 00:55:32,900
matters. 
Like, this was in the plan for a

1044
00:55:32,900 --> 00:55:36,500
while. 
Sort of, I was intending to make

1045
00:55:36,500 --> 00:55:38,100
the pieces and hope someone else
made it. 

1046
00:55:38,300 --> 00:55:40,900
And then at a certain point, I 
realized that just wasn't 

1047
00:55:40,900 --> 00:55:43,600
practical. 
There's just SSR was hard and 

1048
00:55:43,600 --> 00:55:45,700
putting all the right pieces 
together with the right defaults

1049
00:55:45,700 --> 00:55:47,900
is hard. 
And the reason why these meta 

1050
00:55:47,900 --> 00:55:51,200
Frameworks exist, the reason why
they're able to raise money and 

1051
00:55:51,300 --> 00:55:56,000
and businesses out of them. 
So, yeah, it's all started is 

1052
00:55:56,000 --> 00:55:57,500
something that we've been 
working on it. 

1053
00:55:57,700 --> 00:56:01,300
We've been Looking around, like 
we had an idea. 

1054
00:56:01,300 --> 00:56:03,000
We knew it was going to be 
nested routing parallel 

1055
00:56:03,000 --> 00:56:05,400
fetching. 
This was Court going to be core 

1056
00:56:05,600 --> 00:56:08,100
of that. 
I use it on all my old client 

1057
00:56:08,100 --> 00:56:09,800
demos. 
I brought it into SSR. 

1058
00:56:09,900 --> 00:56:13,500
This is kind of the basis, but 
because of, that sold start is 

1059
00:56:13,500 --> 00:56:15,200
actually really similar to 
remix, even though they weren't 

1060
00:56:15,200 --> 00:56:19,300
actually initially inspired by 
each other, but now that I've 

1061
00:56:19,300 --> 00:56:21,400
seen remix, I'm like, oh God, 
these guys have great ideas. 

1062
00:56:21,400 --> 00:56:23,300
So there's a lot of remix in 
there. 

1063
00:56:23,300 --> 00:56:26,900
The bit of silk, it is just been
taking kind of the best pieces 

1064
00:56:26,900 --> 00:56:28,900
that I like those Frameworks and
making one. 

1065
00:56:29,100 --> 00:56:31,700
That is made for solid 
essentially, is the idea we just

1066
00:56:31,700 --> 00:56:36,200
added Progressive enhance forms.
Last night, in fact, that we 

1067
00:56:36,200 --> 00:56:39,500
just merged a PR. 
So now we have like forms, very 

1068
00:56:39,500 --> 00:56:44,700
similar to remix in it. 
We also have the docks are 

1069
00:56:44,707 --> 00:56:46,800
pretty sparse and they're 
actually forked off the remix 

1070
00:56:46,800 --> 00:56:48,700
docks. 
That's how close certain things 

1071
00:56:48,700 --> 00:56:53,100
are right now. 
But essentially, you know it's 

1072
00:56:53,100 --> 00:56:59,300
just you just get started and 
you get like a entry point For 

1073
00:56:59,300 --> 00:57:04,000
the client and the server, you 
get basically a file system 

1074
00:57:04,100 --> 00:57:08,400
based router and then we don't 
have loaders, we have something 

1075
00:57:08,400 --> 00:57:11,300
called Data functions which are 
isomorphic which is actually 

1076
00:57:11,300 --> 00:57:14,200
more than just I guess salt kit 
but it's basically using the 

1077
00:57:14,200 --> 00:57:16,800
built-in mechanism for loading, 
that's builds in the router and 

1078
00:57:16,800 --> 00:57:19,700
then we've introduced some 
really cool things like typesafe

1079
00:57:19,700 --> 00:57:24,500
our PCS as a way of like doing 
server calls and we can extend 

1080
00:57:24,500 --> 00:57:26,200
those four different 
functionality. 

1081
00:57:26,200 --> 00:57:28,600
Essentially, we can use them to 
ads API endpoints. 

1082
00:57:28,600 --> 00:57:32,200
We can Use them as directly as 
our purposes, we can use them 

1083
00:57:32,200 --> 00:57:35,000
for forms. 
We can use them for lots of 

1084
00:57:35,000 --> 00:57:36,200
uses. 
And that's kind of like the 

1085
00:57:36,200 --> 00:57:37,600
basis but it's all just built 
on. 

1086
00:57:37,800 --> 00:57:40,600
Be plugins it strongly Houston 
Vite. 

1087
00:57:40,900 --> 00:57:45,400
So it's so yeah. 
Alexandria says, the discs are 

1088
00:57:45,400 --> 00:57:48,400
just got to their discard if you
can't find it on South Asia 

1089
00:57:48,400 --> 00:57:50,000
Society. 
Yeah. 

1090
00:57:50,000 --> 00:57:53,500
Yeah, another question from 
Patrick. 

1091
00:57:54,400 --> 00:57:57,900
So it says Ryan showcase and 
Mark overs, quick Hacker, News 

1092
00:57:57,900 --> 00:57:59,700
example. 
He showed that Marco only 

1093
00:57:59,700 --> 00:58:03,300
downloads 240, cavers quick 
330k. 

1094
00:58:03,800 --> 00:58:08,100
How does Marco shape off? 
Cut off the extra KBS. 

1095
00:58:08,300 --> 00:58:10,100
Yeah, I'm sure no matter what 
the demo of actually think the 

1096
00:58:10,100 --> 00:58:12,100
changes bigger than that, 
because if I remember correctly,

1097
00:58:12,100 --> 00:58:17,600
I think it was Marco was 240. 
Solid was like, 400 ish and 

1098
00:58:17,600 --> 00:58:22,700
quick was about 500. 
And the reason is that partial 

1099
00:58:22,700 --> 00:58:25,700
hydration and this is like, I 
mean, we could get two quick 

1100
00:58:25,700 --> 00:58:28,200
versus Marco and like that at 
some point and maybe that'll be 

1101
00:58:28,200 --> 00:58:28,900
on my stream. 
This. 

1102
00:58:29,000 --> 00:58:30,900
Friday. 
I'm having the guys from Marco 

1103
00:58:30,900 --> 00:58:33,600
on my stream, this Friday, the 
rest of the team. 

1104
00:58:33,700 --> 00:58:38,900
But essentially, when, you know,
like know for certain, what is 

1105
00:58:38,900 --> 00:58:42,300
on the server and what is in the
browser, 100%, which is what 

1106
00:58:42,300 --> 00:58:46,400
the, that's a difference quick 
as based on lazy or Progressive 

1107
00:58:46,400 --> 00:58:48,900
hydration, this idea of like 
only load what needed. 

1108
00:58:48,900 --> 00:58:50,400
And if you never need it, you 
never need it. 

1109
00:58:50,500 --> 00:58:52,400
You know, it makes it kind of 
simple on that side. 

1110
00:58:52,600 --> 00:58:56,800
Marco's based on knowing exactly
which components are server in, 

1111
00:58:56,800 --> 00:58:58,500
which your client. 
It's kind of like, react server 

1112
00:58:58,500 --> 00:58:59,500
components. 
Sense. 

1113
00:58:59,500 --> 00:59:01,600
But the difference is Marcos 
compiler automatically figures 

1114
00:59:01,600 --> 00:59:03,800
this out for you, so like quick 
it's automatic you don't have to

1115
00:59:03,800 --> 00:59:08,300
worry about it and the the 
reason that Marcos so small in 

1116
00:59:08,300 --> 00:59:13,300
that example is because when you
know that you're fetching, the 

1117
00:59:13,300 --> 00:59:16,600
data on the server and you know 
that it never gets rear-ended in

1118
00:59:16,600 --> 00:59:18,600
the client. 
Well, you don't need the 

1119
00:59:18,600 --> 00:59:22,000
serialize it. 
So when you have 1400 comments 

1120
00:59:22,100 --> 00:59:25,200
again, stupid number of comments
and the only client side 

1121
00:59:25,200 --> 00:59:27,400
interactivity is collapsing 
them. 

1122
00:59:27,700 --> 00:59:30,300
Essentially you need Need 
JavaScript to do that and it's 

1123
00:59:30,300 --> 00:59:32,500
nested to so it's not simple 
JavaScript. 

1124
00:59:32,500 --> 00:59:35,100
You actually need to like have 
comments and comments that nest 

1125
00:59:35,100 --> 00:59:36,800
and you need to be able to 
hydrate it. 

1126
00:59:36,800 --> 00:59:40,200
But if you don't know for 
certain what's on the server 

1127
00:59:40,200 --> 00:59:42,000
client, you still have to 
serialize data because it's some

1128
00:59:42,000 --> 00:59:45,300
potential, you might need the 
lazy loaded and because Marco 

1129
00:59:45,300 --> 00:59:46,900
knows that it never needs a lazy
loaded. 

1130
00:59:46,900 --> 00:59:49,800
Not only does it, do the minimal
amount of hydration. 

1131
00:59:50,500 --> 00:59:53,300
It actually knows that it 
doesn't need to serialize or 

1132
00:59:53,300 --> 00:59:55,500
send any of the data in that 
state. 

1133
00:59:55,500 --> 00:59:57,000
And this is something similar 
that react. 

1134
00:59:57,000 --> 01:00:00,000
Server components are leveraging
to, and The huge savings. 

1135
01:00:00,100 --> 01:00:03,600
That's that's a big part of why 
the thing so fast to load, like 

1136
01:00:03,600 --> 01:00:07,700
in that demo where I shall remix
against against Marco. 

1137
01:00:07,700 --> 01:00:11,500
The be fair. 
No one not not really anyone's 

1138
01:00:11,500 --> 01:00:13,500
on the Marco side. 
Like if you brought solid and be

1139
01:00:13,508 --> 01:00:16,100
about the same as remix there, 
if you brought quick even it'll 

1140
01:00:16,100 --> 01:00:18,700
be about the same as remixer. 
The difference on that example 

1141
01:00:18,700 --> 01:00:22,100
is all about data, serialization
hydration cost difference 

1142
01:00:22,100 --> 01:00:27,400
between Marco and remix is like 
on. 

1143
01:00:27,400 --> 01:00:28,900
Like the desktop, for example 
is. 

1144
01:00:29,000 --> 01:00:32,900
Like 30 milliseconds versus 50 
milliseconds, it is close to 

1145
01:00:32,908 --> 01:00:34,600
twice. 
And in the quick case the 

1146
01:00:34,600 --> 01:00:36,900
hydration would be 0 Ms. 
Initially. 

1147
01:00:36,900 --> 01:00:40,500
So, but you already spent like a
second and a half, sending the 

1148
01:00:40,500 --> 01:00:44,300
data or across on the the 
network and Marcos already like 

1149
01:00:44,300 --> 01:00:47,600
shaved half the time and shave 
like 700 milliseconds like like 

1150
01:00:48,200 --> 01:00:52,600
it's essentially like they're 
just advantages on the double 

1151
01:00:52,600 --> 01:00:55,900
data side when, you know, on 
part hydration and advantages on

1152
01:00:55,900 --> 01:00:59,600
hydration side. 
So it kind of leverages Both 

1153
01:00:59,600 --> 01:01:01,900
pieces. 
When you have that knowledge, is

1154
01:01:01,900 --> 01:01:05,300
probably my best way of putting 
it makes sense. 

1155
01:01:05,600 --> 01:01:08,700
Cool. 
Well, I think we're at a full 

1156
01:01:08,700 --> 01:01:12,300
hour and we've quizzed you like 
completely ride. 

1157
01:01:12,300 --> 01:01:14,800
So I think all I can say is, 
thank you. 

1158
01:01:14,800 --> 01:01:18,300
I really appreciate it. 
One last time II meant to say 

1159
01:01:18,300 --> 01:01:20,800
this, at the start of the Pod, 
Brittany's, not with us. 

1160
01:01:20,800 --> 01:01:23,100
She can make it today. 
So normally we have an extra 

1161
01:01:23,100 --> 01:01:26,400
host as well, but thank you Ryan
for joining and maybe we'll have

1162
01:01:26,400 --> 01:01:30,300
you on once this solid thing. 
Soft perhaps yeah. 

1163
01:01:30,300 --> 01:01:32,800
Yes I'll start is going to be 
exciting when we get this 

1164
01:01:32,800 --> 01:01:35,500
metaphor Hammer going. 
So yeah, I think people want to 

1165
01:01:35,500 --> 01:01:38,100
check it out again at that point
because we'll have a nice SSR 

1166
01:01:38,100 --> 01:01:43,000
story and that's next couple 
look for it in the next month or

1167
01:01:43,000 --> 01:01:45,400
so to go into beta. 
That's when you probably start 

1168
01:01:45,400 --> 01:01:46,700
looking at. 
It will be stable enough. 

1169
01:01:46,900 --> 01:01:48,800
Cool. 
Hopefully we have you on again, 

1170
01:01:49,900 --> 01:01:50,700
thanks. 
Right. 

1171
01:01:50,800 --> 01:01:51,500
Have a good one key.
