- 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 AuthModal from './AuthModal';
import ResumeModal from './ResumeModal';
import AwardModal from './sections/AwardModal';
@ -29,4 +29,4 @@ const ModalRegistrar = () => {
);
};
export default ModalRegistrar;
export default memo(ModalRegistrar);