Giter VIP home page Giter VIP logo

Comments (7)

tomkp avatar tomkp commented on May 31, 2024

What version are you using? 'react-vendor-prefix' has been removed so that should't cause any problems.

But I've not tried server-side rendering for this component yet - but would like to ensure that it is possible...

from react-split-pane.

vwrobel avatar vwrobel commented on May 31, 2024

Hi @tomkp and thanks for your package.
Just to let you know that I get the same error with SSR due to react-prefixer.

from react-split-pane.

timrobbings avatar timrobbings commented on May 31, 2024

@vwrobel it looks like there is an open PR to fix this in the react-prefixer repo: rapid7/react-prefixer#5 - although not much activity on this recently.

We may be able to address this by using webpack autoprefixing, but I've not yet tested this with SSR - in theory this should work if stylesheets are prefixed during the build step.

from react-split-pane.

vwrobel avatar vwrobel commented on May 31, 2024

Thanks for your fast reply @timrobbings. I've tried rapid7/react-prefixer#5 without success.
But replacing react-prefixer by webpack autoprefixer seems to be ok!

from react-split-pane.

IanVS avatar IanVS commented on May 31, 2024

@tomkp, the maintainer of react-prefixer is recommending not to use it.

It would be great to figure out something because right now my tests are all broken and I'm not sure what I need to do to get them running again.

from react-split-pane.

timrobbings avatar timrobbings commented on May 31, 2024

@IanVS - I've submitted a PR to switch from react-prefixer, to inline-prefixer (which was one of the suggestions in the above link). You may want to give it a try and comment if you have any thoughts.

This works with ReactDOMServer.renderToString, so it should fix the SSR issue.

from react-split-pane.

MichaelDeBoey avatar MichaelDeBoey commented on May 31, 2024

@tomkp This one could be closed I think :-)

from react-split-pane.

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.