I watch React add these features to fix their problems when those problems never existed in Ember. JSX wants make everything a component and people end up abusing it so much you have components littered all over the place. The results is that you start missing out on a lot of optimization opportunities.
JSX compiles to JavaScript creates another problem. Your template is still JavaScript, which requires significant time to parse and compile. This performance degradation is very apparent on low powered devices. Some popular websites takes as much as 5 seconds on this step. Since a significant part of an React component is going to be the JSX, this misses a big optimization opportunity. I’m guessing Facebook overlooked this problem since they’re focusing on React Native for low powered devices.
Ember’s Glimmer engine compiles templates to binary bytecodes to be interpreted by the Glimmer virtual machine. The bytecode themselves are optimized to bypass parsing step to make them significantly faster on low powered devices. Furthermore, the Glimmer virtual machine is an optimizing virtual machine, which means it optimizes the bytecode as it runs to achieve even faster update performance.
comments
I watch React add these features to fix their problems when those problems never existed in Ember. JSX wants make everything a component and people end up abusing it so much you have components littered all over the place. The results is that you start missing out on a lot of optimization opportunities.
JSX compiles to JavaScript creates another problem. Your template is still JavaScript, which requires significant time to parse and compile. This performance degradation is very apparent on low powered devices. Some popular websites takes as much as 5 seconds on this step. Since a significant part of an React component is going to be the JSX, this misses a big optimization opportunity. I’m guessing Facebook overlooked this problem since they’re focusing on React Native for low powered devices.
Ember’s Glimmer engine compiles templates to binary bytecodes to be interpreted by the Glimmer virtual machine. The bytecode themselves are optimized to bypass parsing step to make them significantly faster on low powered devices. Furthermore, the Glimmer virtual machine is an optimizing virtual machine, which means it optimizes the bytecode as it runs to achieve even faster update performance.
You’re welcome