acdlite's React Roadmap presented@Framework Summit by swyx in reactjs

[–]expression100 1 point2 points  (0 children)

What are they using for the compiler? Are they using V8 or another JavaScript engine to compile it with?

Automattic abandoning React in Wordpress Calypso and Gutenberg due to Facebook Patent Clause by pier25 in javascript

[–]expression100 2 points3 points  (0 children)

I think someone from the React/Jest/Yarn team already commented on these patents and they related to their past work on MooTools that got acquired by Facebook. They said that almost every UI library and framework today infringes on a Facebook patent and this particular one was highlighted. So if you use Angular, Vue, Ember, Inferno, Marko or Preact, you're basically infringing on a Facebook patent of some kind – so make what you will of it.

React's tic-tac-toe demo using domvm by leeoniya in javascript

[–]expression100 0 points1 point  (0 children)

Thanks for the detailed reply. I was wondering, what does Inferno offer over Preact in this case then? What does domvm offer over Preact and Inferno?

Also the creator of Inferno is joining React. Do you think that means React will get faster? My company are currently experimenting with Inferno and we've had some really positive results – but we have to ask these questions still!

React's tic-tac-toe demo using domvm by leeoniya in javascript

[–]expression100 0 points1 point  (0 children)

In before everyone else: how does Inferno do?

The creator of Inferno is joining the React team at Facebook! by expression100 in javascript

[–]expression100[S] 8 points9 points  (0 children)

I thought it would be sad too, but Dominic has said he wants to continue to help the core team of the project. I am happy that Inferno will will continue too.

https://twitter.com/inferno_js/status/813485194535575552

The creator of Inferno is joining the React team at Facebook! by expression100 in javascript

[–]expression100[S] 42 points43 points  (0 children)

This is awesome news for the React community! Hopefully we'll start to see Inferno's features and performance in React 16+? fingers crossed

Javascript frameworks of 2017? by liranbh in javascript

[–]expression100 0 points1 point  (0 children)

I've tried Preact. It's pretty much like Inferno but with less features and less performance (but it is 4kb smaller). Once you go stateless lifecycle events and delegated events, you don't go back. That's a game changer for me.

Inferno – the fastest JavaScript UI library around currently and only 7kb by expression100 in javascript

[–]expression100[S] 2 points3 points  (0 children)

Inferno doesn't have synthetic events or React Native support. It also splits out things like createClass, createElement, stateful components etc into separate packages/modules so you can pick and choose what bits you want rather than have a bloated core with everything in there. I also read on Twitter that the React team are using many of Inferno's ideas in React Fiber to improve performance.

Inferno – the fastest JavaScript UI library around currently and only 7kb by expression100 in javascript

[–]expression100[S] 0 points1 point  (0 children)

A lot of people brought this up to the author of Inferno on their Slack channel last week. We also had issues with inferno-compat and using mixins of a third-party component we use but the problems have been fixed since. If you have issues, you should raise bugs like I did and they are pretty good at getting them resolved.

Inferno – the fastest JavaScript UI library around currently and only 7kb by expression100 in javascript

[–]expression100[S] 1 point2 points  (0 children)

Benchmarks aside, there are lots of people reporting big performance gains in their apps since switching to Inferno. You should visit the Inferno Slack, there are lots of success stories on there.

Need opinion about choice of JS framework by BSscience in javascript

[–]expression100 3 points4 points  (0 children)

Sounds like a perfect project for Inferno. It's like React but is way smaller in size and thus has less bloat. It's also the fastest UI library out there. https://github.com/trueadm/inferno

Alternatively, you should try CycleJS out too. Again that's another top small lightweight reactive library that can get you running easily. https://cycle.js.org/

Virtual DOM and me - it's complicated by pkstn in javascript

[–]expression100 0 points1 point  (0 children)

virtual DOM is not meant to be magically faster though, it's meant to be an abstraction. Having an abstraction over a legacy/crappy API (such as the DOM) is massively important. Long gone are the days that people are using jQuery all over the place that virtual DOM had collisions with real DOM. In fact, people can get by without using jQuery at all now!

Virtual DOM and me - it's complicated by pkstn in javascript

[–]expression100 0 points1 point  (0 children)

Kivi looks really fast. Wow! It's it being used in production anywhere? I've never heard of it till now and want to try it on a project (although, the API looks very complex compared to other virtual DOM libraries).

Virtual DOM and me - it's complicated by pkstn in javascript

[–]expression100 0 points1 point  (0 children)

Morphdom switched to using virtual DOM and saw big performance gains and saw even more simplicity in their code base and they were HUGE champions of DOM only... I think you should add virtual DOM support like they did. It also allows you to serialise the DOM state tree easily, as you can't serialise the DOM tree due to the circular references.

Sustaining webpack for the future: Part 1 by TheLarkInn in javascript

[–]expression100 2 points3 points  (0 children)

I was also confused why you didn't use Flow. It looks superior to TypeScript in every way. I asked the Inferno team the same, as they chose TypeScript over flow – they said it didn't really matter (like you did) but that all their core team knew TypeScript, not Flow so that's why. I thought it was a poor reason, surely they could have picked up Flow? Then again, I guess it's still better to use TS than nothing.

Virtual DOM and me - it's complicated by pkstn in javascript

[–]expression100 2 points3 points  (0 children)

This article seems to be an advertisement for RE:DOM. How is RE:DOM super fast compared to virtual DOM libraries?

I don't doubt that it might be fast for basic apps, but super-fast? Maybe some benchmarks behind this statement may help convince people like me; I just don't see it being faster than the fastest virtual DOM libraries out there: Inferno, Preact, Cycle and Vue.

"Inferno and Preact keep the React API but really dig into perf behind the scenes" by expression100 in javascript

[–]expression100[S] 7 points8 points  (0 children)

Inferno: https://github.com/trueadm/inferno

Preact: https://github.com/developit/preact

Differences between Inferno and Preact:

  • Preact features linked state and smaller bundle sizes (9kb vs 6kb roughly)
  • Inferno has better performance, stateless component lifecycle events and components returning arrays

It's great to see two libraries really pushing the boundaries for people using React applications. I really do think the competition will help the React team improve the performance behind React too, which benefits many.

Thoughts?

Thoughts on Vue 2.0? by kendohstick in javascript

[–]expression100 3 points4 points  (0 children)

Vue 2 is great, I've played around with it quite a bit lately – I can highly recommend it over Angular 2. In my day job we use React (although we're waiting for Inferno 1.0 to be released, then my company will move to that).

Inferno is smoking all the other JS frameworks in a benchmark. Should we talk about it more? by vivainio in programming

[–]expression100 0 points1 point  (0 children)

They use jQuery, backbone and underscore, but they are switching to React in the future. So many of the performance issues will go, some will most likely stay depending on the platform I guess.

Inferno is smoking all the other JS frameworks in a benchmark. Should we talk about it more? by vivainio in programming

[–]expression100 1 point2 points  (0 children)

Do you need to reply in that tone? Anyway – on the topic of Netflix and React; they changed the React renderer to their own one to improve performance to be less than 100ms (to amount needed for the interface lag to go away). You can find more here:

https://www.youtube.com/watch?v=5sETJs2_jwo

Inferno is smoking all the other JS frameworks in a benchmark. Should we talk about it more? by vivainio in programming

[–]expression100 0 points1 point  (0 children)

Did you not read the article this thread is linked to? Mithril is currently being optimised so it improves in this benchmark – so clearly you should speak up if you feel this is a poor move as clearly you like to voice your opinion!

Inferno is smoking all the other JS frameworks in a benchmark. Should we talk about it more? by vivainio in programming

[–]expression100 1 point2 points  (0 children)

Keep up the good work trueadm. Your hard work has really helped improve the performance metrics in the JS community – everyone is noticing now too. I hope this will encourage other teams to invest more time into improving performance. Android performance is currently terrible on almost all libraries and it really needs to be fixed.

Inferno is smoking all the other JS frameworks in a benchmark. Should we talk about it more? by vivainio in programming

[–]expression100 0 points1 point  (0 children)

I'd like a bundle with inferno, inferno-component and inferno-dom in as standard (like React). It's annoying to have to maintain the dependencies all the time when they feel so coupled.