You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 17, 2021. It is now read-only.
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
Creating a new dummy react app inside ferreiro-client.
Add a new task to Gulp (or use webpack?) that will get as the source the react app folder, will transpile it using babel and put it in the server dst folder.
Update the app scripts to import this generated new asset and make sure we can load the react app.
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.
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.
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
ferreiro-client
.dst
folder.Some resources
The text was updated successfully, but these errors were encountered: