-
Notifications
You must be signed in to change notification settings - Fork 42
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
Update tutorials to use API client libs, and update them to base them on a React frontend #113
Conversation
gtardif
commented
Mar 29, 2022
- Move React tutorial as the second one, before Docker CLI commands and extensions with backend
- change Docker CLI tutorial and backend tutorial to be based on React frontend and use client API libs
…ker CLI tutarial to use react and import api-client Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
@@ -0,0 +1,3 @@ | |||
interface Window { | |||
ddClient: any; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what's the plan for providing a complete type definition for ddClient?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thx, I think we can remove this any
definition (replaced by importing a typescript library that has all type definition), also mentioned in this PR. I'll include removing this global that should not be needed anymore
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
@@ -15,17 +15,36 @@ In the `minimal-backend` sample folder, you can find a ready-to-go example. It r | |||
├── Makefile |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As the order of the tutorials has changed, this tutorial is the last one now. Therefore, at the very bottom of this file, I'd remove the following:
## What's next?
See the next [tutorial](../react-extension) to create a ReactJS-based extension.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch :)
@@ -15,14 +15,45 @@ In the `minimal-docker-cli` sample folder, you can find a ready-to-go example th | |||
. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At the end of this page, update the What's next?
link to point to the next tutorial in the new order.
…rder Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!