The the fetchBlogs was happening every time the user changed the url.But the Blogs are as it is , they have not changed, So added the cache functionality with function oneTimeBlogs which will fetch Blogs single time and is resend to the user whenever he wants the blogs
Type of change
Please delete options that are not relevant.
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (Changing any fundamental/basic component which will cause error )
[ ] This change requires a documentation update
How Has This Been Tested?
by @thedemonsid
Checklist:
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings(ESlint etc)
Screenshots (if applicable)
Include any Screenshots that will help the reviewer understand the context of the changes.
Description
The the fetchBlogs was happening every time the user changed the url.But the Blogs are as it is , they have not changed, So added the cache functionality with function oneTimeBlogs which will fetch Blogs single time and is resend to the user whenever he wants the blogs
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
by @thedemonsid
Checklist:
Screenshots (if applicable)
Include any Screenshots that will help the reviewer understand the context of the changes.
Does this introduce a breaking change?
Mentions
@Vdcds