News for hackers. Stuff that matters.
Re:Show HN: Under the hood ReactJS by pknopf on Tuesday July 04, 2017 @01:46AM (#14693796)
You don't learn anything by studying other architectures?
Re:Show HN: Under the hood ReactJS by adzm on Tuesday July 04, 2017 @02:04AM (#14693845)
For even more fun, compare with inferno
Re:Show HN: Under the hood ReactJS by e1g on Tuesday July 04, 2017 @02:24AM (#14693916)
FWIW a React lead said Inferno is how they would've designed React if they had to do it from scratch, and it's author joined Facebook to push React efforts forward.
Re:Show HN: Under the hood ReactJS by mst on Tuesday July 04, 2017 @11:12AM (#14696313)
So does that mean inferno is both theoretically better and already dead? :(
Re:Show HN: Under the hood ReactJS by e1g on Tuesday July 04, 2017 @08:27PM (#14699188)
Hehe. I think it's Open Source at play: X publishes an innovative method, Y iterates with a cleaner version benefiting from lessons-learnt, X says "awesome, let's join forces!" and they live together happily thereafter. Inferno passed over to another lead who's pushing it forward.

IMO this is a good outcome: there is some marginal value in yet another "React-like but faster" library, but the same energy could help a lot more people if applied directly to the source of the madness.

Re:Show HN: Under the hood ReactJS by sAbakumoff on Tuesday July 04, 2017 @03:13AM (#14694127)
"Inferno 1.0 is really well written. It's how I would've rewritten React. I'd recommend reading its source to learn." - reading the source is much more effective than reading an article written by someone who read the source code.
Re:Show HN: Under the hood ReactJS by lazyasciiart on Tuesday July 04, 2017 @03:28AM (#14694184)
What are you doing on HN when you could be off reading source code?
Re:Show HN: Under the hood ReactJS by sAbakumoff on Tuesday July 04, 2017 @04:16AM (#14694357)
I don't think that your question makes any sense. I read both of HN and the source code.
Re:Show HN: Under the hood ReactJS by icebraining on Tuesday July 04, 2017 @10:27AM (#14696053)
And people can read both the article and the source code.
Re:Show HN: Under the hood ReactJS by bliashenko on Tuesday July 04, 2017 @03:20PM (#14697740)
this's the answer.
Re:Show HN: Under the hood ReactJS by sAbakumoff on Tuesday July 04, 2017 @02:44AM (#14694003)
This is very specific architecture for a very specific product. I really don't think that I can learn anything from all these UML diagrams. I was just wondering what the author had in mind.
Re:Show HN: Under the hood ReactJS by TimMurnaghan on Tuesday July 04, 2017 @02:42PM (#14697530)
Still not really a UML diagram. It's a flow chart. Of course if javascript programmers encapsulated things with actual objects then maybe UML would be applicable.
Re:Show HN: Under the hood ReactJS by sAbakumoff on Tuesday July 04, 2017 @03:18PM (#14697718)
flow chart != UML activity diagram?