- 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,4 +1,4 @@
import React from 'react';
import React, { memo } from 'react';
import { Helmet } from 'react-helmet';
import Hero from '../components/landing/Hero';
import Wrapper from '../components/shared/Wrapper';
@ -68,4 +68,4 @@ const Feature = ({ title, children }) => {
);
};
export default Home;
export default memo(Home);