Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On lecture click, fetch lecture by ID via API if it doesn't exist in redux #337

Open
MAbdurrehman1 opened this issue May 11, 2024 · 0 comments
Assignees

Comments

@MAbdurrehman1
Copy link
Contributor

On this page:
image

Whenever user clicks on any lecture, do the following:

  • Check if that lecture already exists in Redux:
    • If yes, then fetch it from Redux and render it
    • If not, then fetch the lecture via API and render it
@MAbdurrehman1 MAbdurrehman1 self-assigned this May 11, 2024
@MAbdurrehman1 MAbdurrehman1 changed the title On lecture click, fetch lecture by ID via API instead of finding it from the redux On lecture click, fetch lecture by ID via API if it doesn't exist in redux May 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant