cms icon indicating copy to clipboard operation
cms copied to clipboard

Bug/#496

Open manthan0x23 opened this issue 1 year ago • 2 comments

PR Fixes:

  • Fixes Bug #496
  • Makes a global atom (recoil state for the side-bar component and stores the check updation state)

Approach

  • Earlier the state was only stored in micro level in the check state so when the component is unmounted the state returns to global level (previous state for checks or course).
  • Implemented Recoil State for each course to manage a global state store for the side-bar component and when a video (children) is checked it will update its state in the store and rerender the component .

Resolves #496

Checklist before requesting a review

  • [ ✓] I have performed a self-review of my code
  • [ ✓] I assure there is no similar/duplicate pull request regarding same issue

manthan0x23 avatar Apr 27 '24 14:04 manthan0x23

Can't we just revalidate the page or just quick router.refresh()?

siinghd avatar Jul 06 '24 22:07 siinghd

@siinghd Hey there , You mean a page reload ?

manthan0x23 avatar Aug 21 '24 09:08 manthan0x23