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

Navigation

Sponsored · Ship Features Fearlessly Turn features on and off without deploys. Used by thousands of Ruby developers.

 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