-
Notifications
You must be signed in to change notification settings - Fork 73
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
Implement declarative pattern for "fab-" components #3
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
From @benfeely on July 12, 2018 18:20
The initial effort to create wrappers for Fabric components is targeted at closely following the React Fabric API. This means implementing a largely imperative pattern, particularly for scenarios such as defining "items" within a "CommandBar". Following the react pattern, these items are defined by passing in an object as a property. Although this is a valid pattern, the Angular community tends to lean more towards a declarative model...
Imperative
This is the initial implementation which follows the React Fabric API for the component closely.
Component
Template
Declarative
This is the proposed implementation to add to the extend the API and allow for declarative syntax (preferred by many Angular teams).
Note: This proposal is based on Commercial Store's implementation of BSX-List (which is patterned after the Angular Material list and other components). Please see BSX-List source for implementation examples.
Copied from original issue: benfeely/angular-react#11
The text was updated successfully, but these errors were encountered: