- memoize all components

- implement metadata context
This commit is contained in:
Amruth Pillai
2020-07-09 14:00:18 +05:30
parent 9e98da038c
commit 3aaef5f730
71 changed files with 489 additions and 396 deletions

View File

@ -1,5 +1,5 @@
import { Link } from 'gatsby';
import React from 'react';
import React, { memo } from 'react';
import sections from '../../../data/leftSections';
import Avatar from '../../shared/Avatar';
import Logo from '../../shared/Logo';
@ -26,4 +26,4 @@ const LeftNavbar = () => (
</div>
);
export default LeftNavbar;
export default memo(LeftNavbar);