ferreiro / website

🌐 Jorge Ferreiro personal website and blog fully developed in Javascript and Node.Js. It uses Yarn Workspaces to setup the package architecture. Currently migrating the project to ⚛️ React
https://jorgeferreiro.com/
MIT License
58 stars 9 forks source link

Integrate a React app inside the current application #47

Open ferreiro opened 5 years ago

ferreiro commented 5 years ago

Once we have the react app set up, we need to start adding our first components to it. Also, we need to hydrate those components with data from the backend. In order to achieve this we have to do updates to the template views to pass data.

Acceptance criteria

Some resources

ferreiro commented 5 years ago

Hey @kwelch for creating the react app, do you recommend to use create-react-app script? I think w will need to update the gulp task in any case to transpile the react app and all of this and put it on the server.

What alternatives do we have?

kwelch commented 5 years ago

Create react app is always my go to for starting out. You will have to update gulp to call your yarn build for the react app. It should be very minimal add in theory.

ferreiro commented 5 years ago

This looks promising! In a hackathon I attended, I come up with the solution to make this work https://github.com/ferreiro/facebook-hackathon/tree/94761cb653a597c6782c2ba769f89d5b36d45c69

So the idea is to integrate that into this project :)