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

Feat/isr #727

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Feat/isr #727

wants to merge 4 commits into from

Conversation

Paribesh01
Copy link

@Paribesh01 Paribesh01 commented Feb 4, 2025

Resolves #725

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

apps/web/components/utils.tsx Outdated Show resolved Hide resolved
return [];
}
}
export const getAllCategories = unstable_cache(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

small nit

import { unstable_cache as cache } from "next/cache";

would be better if we migrate in future

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@devsargam cache variable was already there so i used different alias (nextCache)

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

Successfully merging this pull request may close these issues.

feature: introduce ISR in home page
2 participants