Hacker News new | past | comments | ask | show | jobs | submit login

In my judgment, React scores poorly on “off-ramp” potential as there is a particular React way of doing things. Curious if others would agree, and also for assessments on which frameworks score better on “off-ramp” potential.



Which is very weird because it was supposed to just be the view layer.


It is just the view layer in well architected applications. The off-ramp for a React application is use your state management, data models, controllers, etc. with a different view layer.

Oh, you're making HTTP calls directly in React components? Well, you done goofed and that's not React's fault.


What if you used a bunch of scoped styles in your component? Screwed yourself there again?

Would be nice to have a style sheet to just slap onto that whole other framework ...


I haven't wrapped my mind around scoped styles. You generally want a consistent UI, meaning mostly global CSS. And, you want the option of easily adjusting a global aesthetic/behavior.

Scoped styles seem like the framework version of the style attribute.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: