Skip to content
This repository has been archived by the owner on Mar 31, 2021. It is now read-only.

Create React Frontend for Dev Playground #161

Closed
ovbm opened this issue Sep 27, 2019 · 7 comments · Fixed by #164 or #194
Closed

Create React Frontend for Dev Playground #161

ovbm opened this issue Sep 27, 2019 · 7 comments · Fixed by #164 or #194
Assignees

Comments

@ovbm
Copy link
Contributor

ovbm commented Sep 27, 2019

Would be great to use react as a front-end for the playground.

@ovbm ovbm added the help wanted Extra attention is needed label Sep 27, 2019
@ovbm ovbm mentioned this issue Sep 27, 2019
@ovbm ovbm removed the help wanted Extra attention is needed label Sep 27, 2019
@ovbm ovbm self-assigned this Sep 27, 2019
@corradio
Copy link
Member

corradio commented Sep 27, 2019

The main thing we're trying to achieve here is to avoid having a bundler for the frontend as a separate process.
Will think about ideas on how to proceed.
One way is to have a watch script for those who want to work on the frontend, and commit dist files such that people who want to work on integrations can do it without running the bundler.

I'll think about a potential architecture

@ovbm
Copy link
Contributor Author

ovbm commented Sep 27, 2019

I actually made it work by adding a proxy to the react app

@mohinderps
Copy link

Got it to run after adding @babel/plugin-proposal-class-properties, @babel/plugin-transform-runtime and babel-plugin-wildcard in the package.json.

@corradio
Copy link
Member

corradio commented Sep 30, 2019 via email

@mohinderps
Copy link

root package.json

@batbyR
Copy link
Contributor

batbyR commented Oct 9, 2019

Same problem for me but I had only to install @babel/plugin-proposal-class-properties.

@micheljp
Copy link

micheljp commented Oct 10, 2019

Shouldn't @babel/plugin-proposal-class-properties be added to the package.json then? Cloning the repo and running yarn followed by yarn serve gets you a module not found error.
Need to run yarn in root dir also. This isn't in documentation.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
5 participants