'color' and 'rich' examples failing on master
See original GitHub issueDo you want to request a feature or report a bug? bug
What is the current behavior? On current master in Chrome and Firefox, for me, I get the following error in both ‘color’ and ‘rich’ examples:
Uncaught TypeError: Cannot read property 'purgeUnmountedComponents' of undefined(…)
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. You can use this jsfiddle to get started: https://jsfiddle.net/stopachka/m6z0xn4r/.
- Clone master
npm update && npm run build
- Open either
examples/rich/rich.html
orexamples/color/color.html
What is the expected behavior? They should render the examples.
Which versions of Draft.js, and which browser / OS are affected by this issue? Did this work in previous versions of Draft.js?
Draft un-released latest, in Chrome and Firefox and likely other browsers too.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Textualize/rich: Rich is a Python library for rich text ... - GitHub
Note that unlike the builtin print function, Rich will word-wrap your text to fit within the terminal width. There are a few ways...
Read more >There are many rich minorities. So why are there no black ...
“There are a lot of people of color making strides, but a troubling racial wealth gap persists,” Lioz said. There's also history to...
Read more >Lorde 1 The Master's Tools Will Never Dismantle the Master's ...
This is an old and primary tool of all oppressors to keep the oppressed occupied with the master's concerns. Now we hear that...
Read more >College debt worsens the racial wealth gap
As a result, the Black-White wealth gap widens. Black college graduates have higher debt loads, on average, than White college graduates. Black ...
Read more >Console API — Rich 12.6.0 documentation
For example, you could add a file called “console.py” to your project: ... Rich will auto-detect the appropriate color system, or you can...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I fixed this in #824 when re-adding the old (deprecated) examples, according to #816. Now all examples use the unminified version of both react and react-dom. Just let me know if that’s not correct.
Oh I see, it looks like this happens if you use minified react but unminified react-dom. Switching both to unminified also makes it work. This is related to React 15.4, not any Draft change.