Git Product home page Git Product logo

frameworks-code-comparison's People

Contributors

andrevargas avatar carmelonaciti avatar coderwassananmol avatar dillonchanis avatar draconteus avatar feimosi avatar geoffdavis92 avatar hendrikgrobler avatar httpstersk avatar itachiuchiha1998 avatar jcjc712 avatar karatakis avatar lagruo avatar luixlacrux avatar lvncnt avatar mjrdnk avatar pierredup avatar psib0t avatar sajeetharan avatar sergio-alonso avatar tesarwijaya avatar varughese avatar vitaliy-bobrov avatar yarwest avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

frameworks-code-comparison's Issues

Add 'Handling Events' section

At least a simple example of handling events (component output) :

  • AngularJS:
bindings: {
  onClick: '&',
}
// ...
this.onClick({ color: selectedColor })
// ...
<primary-button onClick="$ctrl.changeColor(color)"></button>
  • Angular:
@Output() onClick = new EventEmitter<string>();
// ...
<Button (onClick)="changeColor($event)">

Something about streams

  • React:
<Button onClick={ this.changeColor } />

Something about Synthetic events.

Preferably also with links to docs.

Add 'Conditional rendering' section

At least a simple example of conditional rendering:

  • AngularJS:
    ng-if
    ng-switch

  • Angular:
    *ngIf
    [ngSwitch]

  • React:

  • Vue.js:
    v-if
    v-else-if
    v-else

Preferably also with links to docs.

Add 'Child nodes' section

At least a simple example of using child nodes:

  • AngularJS:
    $element

  • Angular:
    ViewChild and ContentChild

  • React:
    refs and this.props.children

Preferably also with links to docs.

Add 'Inputs and Outputs' section

At least one example of each type of binding (with usage):

  • AngularJS:
bindings {
  user: '<',
  department: '@',
  onEdit: '&',
}
  • Angular: (#7)
  @Input() user: User;
  @Output() onEdit = new EventEmitter<User>();
  • React:
propTypes = {
  user: PropTypes.instanceOf(User).isRequired,
  onEdit: PropTypes.func,
}

Preferably also with links to docs.

Add VueJs

Hi, how do you feel about adding VueJs to this?

I would be willing to create PRs.

Add Svelte

You should definitely add Svelte, I'm willing to help contribute!

Add `Forms` section

At least a simple example of using forms (with two-way data binding when available):

  • AngularJS:
<form name="$ctrl.loginForm">
...
</form>
  • Angular:
<form #loginForm="ngForm">
</form>
  • React:
<form onSubmit={this.handleSubmit}>
</form>

Preferably also with links to docs.

Add Polymer

You should definitely add Polymer, I'm willing to help contribute!

Add 'Lists' section

At least a simple example of using lists:

  • AngularJS:
    ng-repeat, trackby

  • Angular:
    *ngFor

  • React:
    key

Preferably also with links to docs.

Add 'Styles' section

At least a simple example of using styles:

  • AngularJS:
    ng-style

  • Angular:
    [ngStyle]

  • React:
    style={}
    A few words about css-in-js and other approaches.

  • Vue.js:

Preferably also with links to docs.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.