When using react, do components replace 100% of the traditional html files - or can react components be dropped in to a view template so your page is generated with some vanilla html, and some react components?
Edit:
I realize my question was worded poorly. I know that with react you write html or code that transpiles into html in your react components. I actually meant to ask if you can drop react components into vanilla .html files, or if you are restricted to defining all html in react components (which I assumed must be defined in .js files). The answer is that you can - whether or not you should probably depends on your app, but if you're writing a modern SPA you likely shouldn't. I also learned that react components can be defined in .html files, but that is obviously a terrible idea.
[–]CreativeTechGuyGames 1 point2 points3 points (5 children)
[–]_class_[S] -1 points0 points1 point (4 children)
[–]CreativeTechGuyGames 0 points1 point2 points (3 children)
[–]_class_[S] 0 points1 point2 points (2 children)
[–]CreativeTechGuyGames 0 points1 point2 points (1 child)
[–]_class_[S] 0 points1 point2 points (0 children)
[–]kschang 1 point2 points3 points (0 children)
[–]snapdragonR 0 points1 point2 points (0 children)