Tzu-Lin Huang talked with @AlanGDavalos, who’s the author of “The baseline for web development in 2022” article that went viral around the Front-end community worldwide.
What is UIT Inside?
We do this weekly podcast in Japanese to cover all sorts of information related to Front-end Development. This is a special episode in English. Please listen and enjoy!
Is the performance for React/Angular really so bad? Isn’t there a bias there due to the scale of the apps and the popularity of the libraries?
“I’m from a third world country and I still see people around with iPhone 5 or 7 here. 4G plans also have started rolling out but not many devices can actually connect to 4G networks.”
Where’s the comparison to “X framework”?
Why doesn’t any framework score 1.0 in the startup column?
@AlanGDavalos Hello there. This is len one from life goka.
Welcome to UIT insight.
Uit insight is and packets for developers who we love
user interface technologies.
Usually we do this weekly pocketts in japanese to cover all sorts of information
@AlanGDavalos related to front and development.
This time we are doing a special episode in english to talk about the article.
Title
a baseLINE for web development in 2022.
This article was recently published on the LINE
@AlanGDavalos engineering block and went viral around the front and community worldwide.
Here we have the author allen how are you doing helen?
@AlanGDavalos A good. Good. So tell us a little bit about yourself.
@huangtzulin Yeah sure. So I'm alan davalos.
I'm a front and developer in LINE's tokyo office.
And
I mainly on on my day to day shop.
I mainly work on the LINE design system.
But I also have some like
@huangtzulin the side projects in the company related to this kind of data analysis which is what kind of drove me to write this kind of article in the first place.
2. A summary of the article
@AlanGDavalos I see this article the baseLINE for web development in 2002.
I think many of our audiences have already.
already
But for those who have could you give us a brief summary?
@huangtzulin Yeah sure. So well the tld.
R of sorts would be basically that
I did this analysis that now that with ie ending the support and everything and most
@huangtzulin like big applications like dropping supports from my e.
So it's like well what should we use a sort of baseLINE now? So I did this analysis and the conclusion was basically that
@huangtzulin in terms of like web standards a suffery from two years ago should be our baseLINE.
In terms of
networks the baseLINE should be 4g networks.
And in terms of performance we should treat like
the cheaper android phones as our baseLINE.
参加者 3 And
@huangtzulin I then did an analysis about
参加者 3 well
@huangtzulin how we as the front and community are actually responding to this kind of baseLINE.
And
the result was mostly that in terms of performance and accessibility especially we're not doing really well.
@huangtzulin We are over using js among other stuffs and our accessibility like even some of the main points of accessibility we are not doing it really well.
So
参加者 3 yeah
@huangtzulin yeah it's a really I don't know it has a lot of data in the article.
So hopefully if you haven't read it this will bring you to
well it soon.
It's really I do that.
A really good effort on that.
Yeah
@AlanGDavalos definitely. There's a lot of information.
We definitely need to everybody should have a read.
Yeah.
The first question is why did you write this article?
3. Why did you write the article?
@huangtzulin So yeah well basically this is something it think
参加者 3 no
@huangtzulin it's a bit of a personal experience I went through when I just joined LINE three years ago
I came from this background of developing mostly like test top websites in in a small company and then coming
it to almost mobile only developer.
It was a really huge change for me.
And
@huangtzulin basically all the things that I put in the baseLINE are the kind of stuff I had to learn through these years.
参加者 3 I am.
@huangtzulin And yeah it's basically
I mean the article itself I think took me about two months to prepare.
But I guess it's actually the last three years of my own experience.
Like just summarizing in a big article.
@AlanGDavalos Ah okay. Yeah. It seems like you put a lot of effort into it.
So
a prentis article received a lot of responses and it's being shared widely on the internet.
How do you feel about that?
4. The response to the article
@huangtzulin Yeah. I think it went really over my biggest expectations.
I mean
I hope it will be like viral and it will have some coverage around the world like
at least the english and japanese communities which is where we published it that
@huangtzulin I'm actually overwhelmed by the positive and the great response it's been having.
Like
it's been shared around many communities.
Di don't even participate in.
So it was it was really fun.
Like just learning. How many people appreciated this
@AlanGDavalos yeah that must feels petty.
Good. And actually we see a lot of interesting question response
on the internet.
And I think we let's take a look at them so we can take this chance as a good opportunity to response those questions.
@huangtzulin Yeah sure. Let's got
@AlanGDavalos a yeah. The first one is I think a lot of people care about this is the performance.
In the article you list the performance of
several popular framework and actually add angular.
Their numbers are not a good.
Instead
really that bad I mean for performance of angle and react.
5. Comment: About the performance of React/Angular
@huangtzulin Yeah. So like you said we saw a couple of people like asking around both for angular and both would react.
And
and some people were even saying like well this might be due to relaxed popularity or due to like the size of the applications that you make with these kind of frameworks then
@huangtzulin you could arguably say that yeahsome of the data might be somewhat biased in that sense which is why I actually try to include many data points from different perspectives.
Like for example I think most of the people who wonder about this saw the the
@huangtzulin a graph from the team callic article that just mentions that the median size for react is like 700 kilobytes.
And like for
for angular it's like one megabyte or something like that.
Now
@huangtzulin but even when you look at that graph in the like the 10 percent tile which is basically the top 10 percent of sites created with each technology.
Like you see that even then the react and angular sites lie barely even meet the performance like baseLINE metrix
and that if they even need it.
So
@huangtzulin That's basically saying yeah even like these top ten percent of sites that like really have the best performance you can have with that kind of frameworks in
@huangtzulin barely even met the metric.
And some other when you say the the be one and the jaquery one and the like overall ones they are a lot smaller.
So
I think it as it's one data point that helps in that side.
And I think the other one is like the lab metric a
@huangtzulin like there you can see like all very very every framework tested in like the same conditions.
And then you can see that in those
well comparisons they also lie react tends to be the poorest performer together with an angular compared to
@huangtzulin some of the more modern stuff.
Which is what what I also mentioned in the article.
Like
most of the things mate catering to tie in the beginning still have some performance problems that modern modern stuff don't seem to have.
@AlanGDavalos Yeah I agree with that.
@AlanGDavalos But just my personal opinion I think there's many way to evaluate
these things.
And I guess a lot of people choose reacties probably because that self saves a lot of work to mean
@AlanGDavalos to create something from scratch.
And so I think sometimes kind of like a trade off but if you're really looking for a performance maybe
the I think this data provides a really good guidance I guess.
@huangtzulin Yeah. I think like for example for people who who like the way of doing stuff with react like
you can always use like preactor solid gas which basically have the same basic idea of creating apps but just
@huangtzulin way better performance since they were made like with different constraints in mind in the beginning.
Us this
@AlanGDavalos that's true. Okay. No you mentioned about the baseLINE is 4g networks and
the two years old ios device iphone.
But I readers say that they're from a third third word country.
And
many people in their country still used iphone 5 or 7 which is many years ago and fourg planes have to started roll out
6. Comment: The situation in third-world countries
@AlanGDavalos but now many devices can actually connect to 4g networks like not iphone five or ii phone 7.
So what do you think about this?
@huangtzulin So yeah like
in myself like I'm mexican so I know what living in a third world world country is about.
And I can actually relate really deeply with this.
And in this time I wanted to make like an overall one lie a global one.
So when you look at global data yeah like things sometimes tend to
@huangtzulin to be like more centralized to the more like urban areas and and stuff like that.
So what I would say for people like that I
you can redo the analysis in a sethe same way.
Like most of the data points I pointed to have like the individual country's data step counter that I used for the browser stuff
@huangtzulin Like you can look like for example in makes like for mexico or like for LINE like for thailand or for some of the other countries we we target.
And you can see like what the market looks in those kinds of places.
And that will give you a better idea of how much does this apply as is
@huangtzulin to your specific case.
Like there might be cases where you might need to make the baseLINE maybe a no.
3g and like
three years of iphone devices.
I don't know. It will depend a lot on how each market
@huangtzulin works. Basically
@AlanGDavalos I agree totally. So basically it depends on where your users are.
@huangtzulin Exactly.
@AlanGDavalos Maybe. So people might want to do their own research on their users so they can adjust their baseLINE guess.
@huangtzulin Yeah. But if anything like I think the best part of this stuff is that
they can compare it to this global one I made and see like so we just have to adjust this part.
Or some like
you can do like more lie minimum adjustments instead of doing all this work by by yourself.
@AlanGDavalos Yoh yeah indeed you do both of heavy life thing.
@AlanGDavalos Okay. Yeah. I in this article there's a performance comparison of jos scree
libraries and frameworks.
And some people might want to how about some the performance of
some libraries or from war that are not listed in this article for example are merges or micro chml.
7. Comment: Comparisons to other frameworks
@AlanGDavalos That's I think they claim they are really fast.
@huangtzulin Yeah. So basically the answer for this would be thai.
Had to like trim
though some of of the more popular frameworks.
And some of the frameworks that I've seen like more
参加者 3 hah
@huangtzulin have more momentum around the internet.
But like each of those charts have like a source link where you can actually see that.
I think one has like 50 something different libraries compared and the others should have like more than 60.
And like for example those that you mentioned like ember and
@huangtzulin my great cml and like it has like a lot tot of other libraries compared some of those even might perform better than the ones I put.
I think most of them are kind of experimental still but maybe I'm brunk.
So
@huangtzulin I mean if you want to pursue a performance even further you can go to the source there and see what there kind of stuff is.
There
@AlanGDavalos I see. Yeah. I think it's just a start that this kind of benchmark whenever ends there are always new frameworks.
@huangtzulin Yeah yeah exactly.
8. Comment: Why is there no 1.0 in startup?
@AlanGDavalos Okay. There's another comparison table that this one I'm
curious about it.
Why does any framework score 1.0 in the starr column? And I take a look at it even for the adress
it's sat out score is one point zero.
@huangtzulin Yeah. So basically the short answer for that would be like panila jas is not the fastest
in every single matric.
Like what I did in that table
I basically took what the benchmark calls the geometric mean of each of the sub categories.
But each category actually has several metrics inside.
@huangtzulin And for the start up one like when comparing these specific frameworks I think
abanilla geas actually lost both metrics.
I think it lost one to lit and one to spelt.
@huangtzulin It seems not a single framework like one every single metric.
So they don't have like the 1.0 average which is why I every single thing there has like
one point zero six or one point one or something like that.
Yeah but yeah that's the reason
@AlanGDavalos I see one one of the biggest event that let's late is that a lot of website a lot of services that job support
of high internet explore 11.
So that kind of trigger I mean makes you want to write this article.
So whn when should this baseLINE will be updated again?
9. When should the baseline be updated again?
@huangtzulin Yeah I think that's a really interesting question because I like you said this time there was this big event that triggered this.
And I think like
orfor this baseLINE to change drastically something like of an equal like amount of influence has to happen.
So
@huangtzulin basically I think there's four possible things that could make us have to change this.
One is that
@huangtzulin either ios has to like allow different browsers into ios
like really really different browsers not just web kitting under these guys or or that they have to
like allow for sufferi to be updated separately from the always.
@huangtzulin But I think for those to happen like either like some apple inside policy has to change really like
a lot either from internal pressure or maybe from some external pressure.
I think that's a
@huangtzulin that's basically the only reason why why they would do that I guess.
And so as long as those don't happen I think the baseLINE for suffering will stay mostly the same.
@huangtzulin And like for the android devices they don't seem really to be pushing that much.
Like having better cpu.
So I don't think that will change a
a lot more.
And same for 4g like what the commends just say like
@huangtzulin there are some countries that the fourg penetration just started so like 5g is like a long long way before it comes.
So I think
for the time being the should they should stay for at least two or three years like basically the same
@huangtzulin or that. Unless like we have like a new type of device that becomes really popular and can brow the internet like I don't know maybe
something like br actually has as a nice resurgence or something like that which as
@AlanGDavalos as long as for everybody yoused medaverse I guess.
@huangtzulin Yeah like something like that.
Unless the way we browse the internet doesn't change like drastically I think it's going to
pretty much stayed the same for at least some years.
I think
@AlanGDavalos That's like a good news because I mean as a foren developers we I keep changing.
BaseLINE
just bring us a lot of unnecessary works sometimes.
参加者 3 Yeah
@huangtzulin yes. Yeah exactly. Just just adapting to this
new baseLINE change is going to probably take a lot of work for many people.
So we probably in that sense ye
@AlanGDavalos we have to update a lot of things.
Update a lot of libraries perhaps.
@huangtzulin Yeah exactly.
10. Closing
@AlanGDavalos Yeah. So thank thanks aden.
Today we talk about the baseLINE for web development in 2022.
As mentioned before we usually do this weekly broadcasting japanese but if you like our english version we might release some new episode english in the future.
@AlanGDavalos As the last note LINE corporation and life goka is currently hiding and we have office in tokyo goto and koka.
You can find our open position in the links in this episode's shore notes.
Thanks for listening.
We hope you'll see you again.