Re:Show HN: Under the hood ReactJS
by sAbakumoff on Tuesday July 04, 2017 @01:31AM
(#14693747)
Wow, you really spent a lot of time of this, but why? What's the purpose? How do React shenanigans can help me to be a better developer?
[ Parent
| on HN ]
You don't learn anything by studying other architectures?
For even more fun, compare with inferno
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.
So does that mean inferno is both theoretically better and already dead? :(
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?