

Is it a good thing to mix technologies though like this? Probably not.


On this scenario we dont have this kind of requirement. JSX) inside JS but those apps are built like that, that the state builds the UI and you need to tie up really close the UI and components with the state for the app to work as expected. I know, in frameworks/libraries like React for example you write HTML (in React's case. That also is not the best separation of concerns. In simple HTML, CSS and JS site, its better if you have multiple CSS being request using the traditional link href method, especially if your host is http2 ready.Īlso, HTML being handled in JS. * Ĭool stuff but some of the practices shown are not the best ones.
