Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First pass of an Electrode subapp guide #1497

Merged
merged 2 commits into from
Jan 21, 2020

Conversation

christianlent
Copy link
Contributor

There are no inbound links to this page yet.

mkdir my-app && cd my-app && npm init -y @xarc/app && npm i && npm run dev
```

This will create, install, and run an Electrode web application with a few simple subapps.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Personally I like when this break down, highlights the command that was used above, so the engineer has context of how the above line was composed.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do like that! Would you separate into multiple lines and add comments to each line?


- What is a subapp?

At its core, a subapp is simply a display component. Currently, this can be either or React or Preact component, but more UI libraries may be supported in the future.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one too many ors? React, Preact?

@jchip jchip merged commit 12e87c0 into electrode-io:master Jan 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants