Earlier quoted context omitted.
"but presumably they've stripped out many of the things that make React enjoyable to use in order to satisfy some arbitrary file size metric" Why make this claim without looking yourself? You could validate that "presumably" by just looking at the docs, but instead you get sassy about it. If you look at the docs, you'll see that the API is almost exactly the same. You really don't lose any features from switching to…
What do you think the extra 38kb of code is for? My point of view is, you've got a company with thousands of employees who work with a library every day and core teams dedicated to its improvement. Their requirements for speed and bandwidth far exceed our own as they reach further into the nth percentile of users, so you know things like speed and bloat are important for them to cut out. What, if anything, is actuall…
InfernoJS – A JavaScript library for building powerful user interfaces
41–50 of 135 posts
Re: InfernoJS – A JavaScript library for building powerful user interfaces
#42Unfortunately unrelated to Inferno the operating system, which was warped into running in a browser, many moons ago. http://www.vitanuova.com/inferno/
Although I did think "ooh, don't tell me someone has compiled Inferno OS to Javascript, that would be awesome" nope.
Re: InfernoJS – A JavaScript library for building powerful user interfaces
#43What's it like to re-write a React application into Inferno?
Re: InfernoJS – A JavaScript library for building powerful user interfaces
#44From the README > Inferno is much smaller in size, 7kb vs 45kb gzip. Given that you're building the kind of app that is complicated enough to require a state management library, a virtual dom implementation, etc... does this 38kb really matter? Is anyone really shipping commercial apps where 38kb on page load would be that meaningful of a performance gain? Especially if you're doing serverside rendering and requiring…
These days, JS parse time on mobile devices is more important than file size. And that isn't even necessarily file size specific - Nolan Lawson did a comparison of the different methods used to bundle JS to show how they can have a huge impact: https://nolanlawson.com/2016/08/15/the-cost-of-small-modules...
Re: InfernoJS – A JavaScript library for building powerful user interfaces
#45Earlier quoted context omitted.
It's all about a Svelte, a framework that came to light a week ago and isn't in production anywhere that matters? Come on...
A week is about 6 months in JS-years.
Inferno JS is probably one of the newest "frameworks"/large-libraries that I would even consider using, and it's over a year old already.
React has been around in some fashion since 2011, and was open sourced in 2013.
Angular 1 has been since around 2010 IIRC. Angular 2 since around mid-late 2015.
Ember since before mid 2014.
Yes, some terrible developers like to chase the "new cool thing" every few weeks, but that doesn't mean that you need to, and it doesn't mean that there aren't stable, powerful, good choices that have been around for years.
Re: InfernoJS – A JavaScript library for building powerful user interfaces
#46Here we go again. I click the link. Get to an under construction page. Click the link, get to Github, think "this is interesting" to myself. Read on. Find there's a project called Cerebral, which is a state management library for React/Inferno/Whatever. Start thinking there's something wrong with my app, that's "just" about to launch, and is "just" using plain old Redux. And now I'm thinking it's not good enough any…
Is it JavaScript that is doing this to you? I think it's you doing this to you.
So in my opinion and all honesty, I still prefer React+Redux (and Angular for some of our apps) because it's the safest bet that they are in for the long run and won't be obsoleted by shiny new library of tomorrow.
Re: InfernoJS – A JavaScript library for building powerful user interfaces
#47Re: InfernoJS – A JavaScript library for building powerful user interfaces
#48Here we go again. I click the link. Get to an under construction page. Click the link, get to Github, think "this is interesting" to myself. Read on. Find there's a project called Cerebral, which is a state management library for React/Inferno/Whatever. Start thinking there's something wrong with my app, that's "just" about to launch, and is "just" using plain old Redux. And now I'm thinking it's not good enough any…
Then your stack is good enough.
Re: InfernoJS – A JavaScript library for building powerful user interfaces
#49Here we go again. I click the link. Get to an under construction page. Click the link, get to Github, think "this is interesting" to myself. Read on. Find there's a project called Cerebral, which is a state management library for React/Inferno/Whatever. Start thinking there's something wrong with my app, that's "just" about to launch, and is "just" using plain old Redux. And now I'm thinking it's not good enough any…
Can you build something that'll make your customers happy? Then your stack is good enough.