zoopoetics / react-svg-flexbox Goto Github PK
View Code? Open in Web Editor NEWA React-based Flexbox layout container for SVG elements.
A React-based Flexbox layout container for SVG elements.
Hi,
I was playing with your flexbox component and I get errors, when I nest them. See here:
https://codesandbox.io/s/j7zlo634rv
Am I doing something wrong or is this a bug?
Hi. I was trying to run this in a React Native project but ran into some errors. Before troubleshooting too much, would you expect it to work in RN?
Thanks!
Hi,
I was using your npm package and it is very useful for my project. I found that when I install this package, it take around 4 minutes because it install many dependencies. I think package.json only need these 4 dependencies:
"dependencies": {
"css-layout": "1.1.1",
"prop-types": "^15.6.2",
"react": "^15.3.0 || ^16.0",
"react-dom": "^15.3.0 || ^16.0"
}
Other packages can move to devDependencies.
I want to remove create-react-app, because while it was great for getting the project up and running, it's not really needed now, and it would be great to lose all those dependencies.
I want a built rendition of the component in /dist so that any project that uses it does not have to know how to build it.
It seems like nesting a <Flexbox>
inside another <Flexbox>
would be a pretty common use case for more complex svg layouts, but I get the following error when I try:
bundle.js:1 Uncaught TypeError: e.filter is not a function
Minimal code to reproduce (in App.js
of a react app):
export default const App = () => (<Flexbox><Flexbox></Flexbox></Flexbox>)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.