MLH-Fellowship / react-native-tutorial

6 stars 0 forks source link

Research Branching Model: CLI #20

Open StuffByLiang opened 3 years ago

StuffByLiang commented 3 years ago

Requirements:

Allow the user to switch to various branches of the tutorial, with each branch representing it's own step/part of the tutorial. Do this smoothly, so that a hot reload of the app will immediately show the changes in the app.

Idea:

Concerns

Libraries that may assist

Branch

https://github.com/MLH-Fellowship/react-native-tutorial/tree/setup-branch-cli

Screenshots

image In action

questions

Should we directly implement this into the react-native cli?

PragatiVerma18 commented 3 years ago

I researched a little about this and came across an idea where we can make use of the GitHub Learning Labs.

The official documentation says:

Every step in a course will be triggered by a webhook event sent from GitHub. All possible events are documented in Events Types & Payloads on the GitHub Developer Guide.

This means that we can define actions on each step of the tutorial along with directions regarding the next steps. See an example here: Introduction to React

cc: @StuffByLiang ,@princiya, @XifeiNi

princiya commented 3 years ago

Thank you @StuffByLiang @PragatiVerma18 for your inputs. Let's discuss these points in more detail with Rick next week.