Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Navigation

Sponsored · SiteGround - Reliable hosting with speed, security, and support you can count on.

 Navigation

Avatar for Peter Lazar

Peter Lazar

July 24, 2016
Tweet

More Decks by Peter Lazar

Other Decks in Programming

Transcript

  1. Imperative $("#btn").click(function() { $(this).toggleClass("highlight") $(this).text() === 'Add Highlight' ? $(this).text('Remove

    Highlight') : $(this).text('Add Highlight') }) Declarative <Btn onToggleHighlight={this.handleToggleHighlight} highlight={this.state.highlight}> {this.state.buttonText} </Btn>
  2. Navigator Cons Less re ned animations Poor DX (Navigation State

    management) Being replaced by NavigationExperimental