Git Product home page Git Product logo

react-css-grid's Issues

Need support for IE 11

Almost only reason why developers are not able to adapt to CSS grid is, Because IE.
Is it good idea to solve this by adding some IE fallback JavaScript to React Components ?

TypeScript support

Not exactly an issue but just putting this declaration here if anyone needs it

declare module 'react-css-grid' {
  interface GridProps {
    width: string | number = 320;
    gap: string | number = 32;
    children: (JSX.Element | JSX.Element[])[];
  }

  const Grid: (props: GridProps) => JSX.Element;

  export default Grid;
}

Error during Serverside Rendering

I tried adding this to my next.js project. It works fine client side but server side I get the following error.

styleSheet.getName is not a function
TypeError: styleSheet.getName is not a function
    at ComponentStyle.generateAndInjectStyles (my-project/node_modules/react-css-grid/node_modules/styled-components/lib/models/ComponentStyle.js:95:37)

Hopefully this problem would go away after #5 is resolved, because I'm going to try styled-system next.

[Question] Could this be used with react-native-web?

Hello, I would like to use css grids in a new project but Im also interested in using the native aspect of react. For the front end Im using react-native-web and would like to know if this package plays well with that suite.

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.