I installed it using npm install --save react-bootstrap. I can for example import and render a<Button />using Mantra (import { Button } from 'react-bootstrap', but I cannot alter the state in browser. Is it possible the functions are not loaded correctly?
I feel this has something to do with my Mantra Module setup, not with react-bootstrap. I have tested it using a container and a component. Should I include additional dependencies somewhere?
Restarting meteor nor npm install solves the issue.
Here's the gist including the container (header.js), the component (header.jsx), and the root package.json.
How can I add the react-bootstrap library?
I installed it using
npm install --save react-bootstrap
. I can for example import and render a<Button />
using Mantra (import { Button } from 'react-bootstrap', but I cannot alter the state in browser. Is it possible the functions are not loaded correctly?I feel this has something to do with my Mantra Module setup, not with react-bootstrap. I have tested it using a container and a component. Should I include additional dependencies somewhere?
Restarting meteor nor
npm install
solves the issue.Here's the gist including the container (header.js), the component (header.jsx), and the root package.json.