Skip to content

v1.0.2

Choose a tag to compare

@talatkuyuk talatkuyuk released this 04 Feb 13:54
· 88 commits to main since this release

The changes made by @talatkuyuk,

  • added a declaration for the Empty Component function in order to save needless re-renders
const _EmptyComponent = () => null;
function _createMdxContent(props) {
  // …
  const {Component1 = _EmptyComponent, Component2 = _EmptyComponent} = _components;
  // …
}

Thanks to @remcohaszing for the advice.