We are building a react based web app for a project/potential business and I'm wondering if it's ok to include the static site in the web app code?

I've always had a separate basic html and css code base for the static site but if I included as a couple react components I could re-use a lot of the app styling and code.

I'm just wondering if there is any potential drawbacks from combining them?


If the web app doesn't need to be deployed separatly, then i don't see any reasons that you shouldn't mix them. You might want to separate them if for example this web app will potentially be rebranded and deployed internally in your client's infrastracture.

  • Thanks, that makes sense. We are building the platform as a service so it wouldn't be ever rebranded. – joe Dec 8 '17 at 19:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.