Skip to content

Using meteor-reactjs with 3rd party components? #6

@sunny-g

Description

@sunny-g

What's the recommended way of using 3rd party React components alongside meteor-reactjs?

I'm trying to use https://gitub.com/callemall/material-ui, but kept getting the "Uncaught TypeError: Cannot read property 'firstChild' of undefined".

So far, I include material-ui by running npm install && gulp build in a hidden folder that reactify's the dependencies into a single file and puts it in client/compatibility, which loads the library as expected, but results in the aforementioned error. In the simple example of just rendering a RaisedButton, it prevents the rippling animation from being triggered though on hover, the button changes.

edit: this issue might also be related: mui/material-ui#331

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions