Deleted Account
2w ago
This legacy API is no longer recommended . Some recommend Ising connection instead if unstable _noStore
here is how to do
import { unstable_noStore as noStore } from 'next/cache';
export default async function ServerComponent() {
noStore();
const result = await db.query(...);
...
}
here is how to do
import { unstable_noStore as noStore } from 'next/cache';
export default async function ServerComponent() {
noStore();
const result = await db.query(...);
...
}
Loading note
See translation
0
0
0
0
0
No comments
Nobody commented on this