Skip to content

Conversation

@ashmaroli
Copy link
Member

@ashmaroli ashmaroli commented Nov 17, 2019

  • Define splat parameter with a default value of ''
  • Optimize by reducing conditional branches and iterations

* Convert into class component
* Define `splat` prop with a default value of ''
* Use class property to stash non-collection resource types
* Optimize by reducing conditional branches and iterations
Can be memoized later with React 16
@ashmaroli ashmaroli merged commit e7680f2 into jekyll:master Nov 18, 2019
@ashmaroli ashmaroli deleted the refactor-breadcrumbs branch November 18, 2019 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants