3 ms·
Which is very weird because it was supposed to just be the view layer.
by runawaybottle 6y ago
Which is very weird because it was supposed to just be the view layer.
- oorza 6y agoIt 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.
- runawaybottle 6y agoWhat 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 ...
- unclebucknasty 6y agoI 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.