跟着这个 https://github.com/reactjs/express-react-views
可以把react和express一起用了,但是加上react-bootstrap的就不行了
比如什么Alert, Button的JSX之类,加上出错
Error: Invariant Violation: Button.render(): A valid ReactComponent must be
returned. You may have returned undefined, an array or some other invalid
object.
也没找到特别好的例子。react除了hello world都很难找到个有css的例子。