gk

Results 28 comments of gk

will investigate the issue these two days 😬 On Sep 18, 2016, 8:06 PM +0800, Simon [email protected], wrote: > There are def leaks. > I've got a swift-ready version ready...

I made some change, can you try it again? If you still got the error, can you provide me some log info of the error.

@SambitPrakash Can you maybe show some code snippets here?

hi @leerob , thanks for the answer! In your example, you opted not to cache the cart data by using ‘no-store’ with the `fetch` function, but you still applied the...

According to this doc: > In a Server Action: Revalidating data on-demand by path with ([revalidatePath](https://nextjs.org/docs/app/api-reference/functions/revalidatePath)) or by cache tag with ([revalidateTag](https://nextjs.org/docs/app/api-reference/functions/revalidateTag)) Using [cookies.set](https://nextjs.org/docs/app/api-reference/functions/cookies#cookiessetname-value-options) or [cookies.delete](https://nextjs.org/docs/app/api-reference/functions/cookies#deleting-cookies) invalidates the Router Cache...

@amannn Could this be fixed more easily for when the `localePrefix` is set to `never`?

@amannn sounds like a plan! For now I have added a wrapper component that seems to do the trick: ```tsx "use client"; import { type I18nLink, type LocaleCode, getPathname, type...

When using `localePrefix = "as-needed"` and **no** domains, using `createLocalizedPathnamesNavigation` like ``` export const { redirect, Link } = createLocalizedPathnamesNavigation({ locales, pathnames, localePrefix }); ``` And calling `redirect("/login")` would still...

I am doing this now as a workaround: ```ts import { type RedirectType, redirect as nextRedirect } from "next/navigation"; import { locales, pathnames, localePrefix, defaultLocale } from './config' import NextLink...

This is the error I got: ``` ./node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next-intl/dist/esm/navigation/shared/BaseLink.js Attempted import error: 'useState' is not exported from 'react' (imported as 'i'). Import trace for requested module: ./node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next-intl/dist/esm/navigation/shared/BaseLink.js ./node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next-intl/dist/esm/navigation/react-server/ServerLink.js ./node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next-intl/dist/esm/navigation/react-server/createSharedPathnamesNavigation.js ./node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next-intl/dist/esm/navigation.react-server.js ````