Comments (7)
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.
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.
@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.
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.
@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.
@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.
@tomkp This one could be closed I think :-)
from react-split-pane.
Related Issues (20)
- initial size and other options not working. HOT 2
- Updating a useState when on the page resets the sizing.
- Control the style of the Resizer which is being held
- Bug when I change browser zoom
- Weird behavior with nested SplitPanes HOT 1
- save split size change after refresh HOT 2
- Initial size based on content? HOT 2
- How can I fix this warning? HOT 1
- Hover event for splitter
- 关于在其中使用iframe相关的情况 HOT 3
- Dynamically adding panes HOT 2
- 'SplitPane' cannot be used as a JSX component. HOT 1
- Typescript warning with React 18 types HOT 9
- Dependency issue REACT 18.2.0 HOT 4
- Type Error
- Type Error (React 18.2.0) HOT 6
- Prop to add ToolTip to Resizer
- Hide, move, dock HOT 2
- <SplitPane>标签设置defaultSize、minSize和maxSize不起作用
- Legacy context API has been detected within a strict-mode tree. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-split-pane.