Git Product home page Git Product logo

Comments (16)

cong1223 avatar cong1223 commented on September 24, 2024 7

This is a serious bug

from cssinjs.

markpedong avatar markpedong commented on September 24, 2024 6

const ProLayout = dynamic(
() => import("@ant-design/pro-components").then((com) => com.ProLayout),
{ ssr: false }
);

if you are using Pro Layout component, then you can use this code. It would defeat the purpose of using SSR.

from cssinjs.

manzaloros avatar manzaloros commented on September 24, 2024 1

I'm also having this error when using AntD v5 and Remix v2, loading the AntD CSS using the "whole export" approach.

from cssinjs.

yanugto avatar yanugto commented on September 24, 2024 1

const ProLayout = dynamic( () => import("@ant-design/pro-components").then((com) => com.ProLayout), { ssr: false } );

if you are using Pro Layout component, then you can use this code. It would defeat the purpose of using SSR.

this resolved my problem,thanks.

from cssinjs.

terminalqo avatar terminalqo commented on September 24, 2024

image
So, hash function may run twice, once in server, once in client ?

from cssinjs.

mitya-kocherga avatar mitya-kocherga commented on September 24, 2024

Hi there
with next js v12.2.2 and ant v5 it also reproducible

from cssinjs.

cassianpry avatar cassianpry commented on September 24, 2024

Hello
with "next": "13.0.4" and ant v5 also reproducible

from cssinjs.

immdraselkhan avatar immdraselkhan commented on September 24, 2024

Same issues. ☹️

from cssinjs.

bombillazo avatar bombillazo commented on September 24, 2024

Any update on this?

from cssinjs.

hstarorg avatar hstarorg commented on September 24, 2024

m

from cssinjs.

koliader avatar koliader commented on September 24, 2024

I found website with solution

from cssinjs.

yasz avatar yasz commented on September 24, 2024

any update?

from cssinjs.

bombillazo avatar bombillazo commented on September 24, 2024

This issue happens with both "whole export" and "inline-styles".

from cssinjs.

Minf97 avatar Minf97 commented on September 24, 2024

next14 have the same problem

from cssinjs.

yjw0628 avatar yjw0628 commented on September 24, 2024

const ProLayout = dynamic( () => import(“@ant-design/pro-components”).then((com) => com.ProLayout), { ssr: false } );

如果您使用的是 Pro Layout 组件,则可以使用此代码。这将破坏使用 SSR 的目的。

This is a bad idea

from cssinjs.

SamChami avatar SamChami commented on September 24, 2024

I'm also having this error when using AntD v5 and Remix v2, loading the AntD CSS using the "whole export" approach.

I am also seeing this in AntD 5 and Remix 2

from cssinjs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.