Using recoil atom to fetching Single Post so if user click on same post again it does not refeches the same data from backend,so it is an efficient way.
Resolves #210
Linked Issues
Fixes #210
Closes #[Issue Number]
Type of Change
New feature (non-breaking change which adds functionality)
Changes
Change 1:Global State Management
Change 2:Earlier Project was using hooks to fetch one Single Post but it causes unneccessary refetching of Data which is now solved using atomFamily
...
Checklist before requesting a review
[✅] I have performed a self-review of my code
[✅] I assure there are no similar/duplicate pull requests regarding the same issue
[ ✅] My changes follow the project's coding guidelines and best practices
[ ] Code is formatted properly and lint check passes successfully
[ ] I have made corresponding changes to the documentation (if applicable)
Recoil State Management
Using recoil atom to fetching Single Post so if user click on same post again it does not refeches the same data from backend,so it is an efficient way.
Resolves #210
Linked Issues
Type of Change
Changes
Checklist before requesting a review
Additional Notes