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

Update - Components in Angular #943

Open
2 of 13 tasks
AbdellaToronto opened this issue Apr 4, 2021 · 0 comments
Open
2 of 13 tasks

Update - Components in Angular #943

AbdellaToronto opened this issue Apr 4, 2021 · 0 comments
Labels
Spring 2021 Work Update - 2021 Updates current content in book during the 2021 update, for example, on out of date info

Comments

@AbdellaToronto
Copy link
Collaborator

AbdellaToronto commented Apr 4, 2021

Components in Angular

Component definition based off AngularJS (correct, not sure if still relevant)

  • We could potentially get rid of intro page and move the 1st sentence to the “Creating Components” page

Creating components

View Example

  • plnkr link works but does not run

Application Structure with Components

  • Code example could have a visual equivalent?

Passing Data into a Component

  • Review 1st sentence structure
  • Remove Angular 1.x reference and add a note about 1-direction binding Parent -> Child

Responding to Component Events

  • Needs to elaborate a bit more on Output()

Using Two-Way Data Binding

  • 1st sentence implies we need to use ngModel for this (ngModel is used as an example)
  • Plunker doesn’t work

Accessing Child ….

  • Mention the #myForm variable before the example (reader probably doesn’t know what to look for)
  • Could have a strict example where the child’s type is mentioned?

Projection

  • Make “content projection” bold
  • Add subsection header for Multiple Content Projection

“Structuring Applications with Components” ->

  • “Defining Component Responsibilities”?
@AbdellaToronto AbdellaToronto added Spring 2021 Work Update - 2021 Updates current content in book during the 2021 update, for example, on out of date info labels Apr 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Spring 2021 Work Update - 2021 Updates current content in book during the 2021 update, for example, on out of date info
Projects
None yet
Development

No branches or pull requests

1 participant