Skip to content

Conversation

@goncalvesjoao
Copy link
Contributor

Hi @gajus first of all, thank you so much for all the work!

I've stumbled upon an error on my app when I started using CSSModules(MyComponent, styles) to render certain Components that given certain conditions would return null, when rendering.

Made some changes to the "src/index.js" file, according to what React 0.11 did for the "Rendering to null" case.

Made some tests too.

@gajus
Copy link
Owner

gajus commented Sep 17, 2015

For documentation purposes, this behaviour is described in the v0.11 release notes. https://facebook.github.io/react/blog/2014/07/17/react-v0.11.html#rendering-to-null

gajus added a commit that referenced this pull request Sep 17, 2015
rendering <noscript> in case of rendering to null
@gajus gajus merged commit b021eea into gajus:master Sep 17, 2015
@gajus
Copy link
Owner

gajus commented Sep 17, 2015

@goncalvesjoao very cool. I wish every PR was as thorough as this. 👍 Will release a version bump in a couple of minutes.

@goncalvesjoao
Copy link
Contributor Author

thanks ^_^

@gajus
Copy link
Owner

gajus commented Sep 17, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants