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

Revisit Halogen and React Components* recipes #263

Open
milesfrain opened this issue Jan 5, 2021 · 0 comments
Open

Revisit Halogen and React Components* recipes #263

milesfrain opened this issue Jan 5, 2021 · 0 comments
Labels
cookbook Issues related to this repo as a whole and not a recipe in particular

Comments

@milesfrain
Copy link
Collaborator

milesfrain commented Jan 5, 2021

I think we can make these recipes clearer for beginners.

One improvement is to apply a background color and label to each component indicating whether it is the "parent" or "child".

We should also demonstrate fewer features when possible. For example, ComponentsHalogenHooks could be broken-up into separate recipes that demonstrate:

  • Child output to parent
  • Parent query to child

I think sticking to a simple "counter" button would be simplest for both cases.

The other Halogen recipes ComponentsInputHalogenHooks and ComponentsMultiTypeHalogenHooks look good regarding scope.

@milesfrain milesfrain added the cookbook Issues related to this repo as a whole and not a recipe in particular label Jan 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cookbook Issues related to this repo as a whole and not a recipe in particular
Projects
None yet
Development

No branches or pull requests

1 participant