Flipboard / Flipboard/react-canvas
Error on css-layout example
- Dominant language
- JavaScript
- Stars
- 13.2k
- Forks
- 909
- PR merge metrics
- No merged PRs in 30d
Description
Hi guys,
I'm trying to recreate the css-layout example but I get
> Can't read property 'getPooled()' of null in Surface.componentDidMount.
The difference is that I used **browserify** and did a few things:
- browserify the ReactCanvas.js in react-canvas.js.
- made "react" and "react-dom" external dependencies.
At the end I end up with two file react-canvas.js, react.js( "react" and "react-dom" modules) and app.js (the css-layout example).
Another thing is that I don't use JSX but Javascript instead.
Where could be the issue here?
Thank you in advance!
Contributor guide
No contributing guide indexed for this repository
Research direction
Recreate the css-layout example using the browserify setup described, including ReactCanvas.js, react-canvas.js, react.js, and app.js. Start at Surface.componentDidMount and compare the bundled setup with the example; done means identifying the cause of the getPooled() error and documenting or fixing the reproducible configuration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100