I'm currently learning React.js, knowing that it is just the view of MVC. I have come from a Angular stack and I'm starting to worry about a few things with React.js.
One of them being if you have a partial html file how can you inject that file into another to build a functioning html file.
For example. How would i go about including a header, body and footer files into one?
I've read about dangourouslyinnerHTML which I don't want to use for XSS reasons. Is there a different way that I'm missing? Or is this something I will have to get gulp to compile?