-
-
Save kylpo/a8ee152fe5e319d3339cc6ae0b93845d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class NullComponent extends React.Component { | |
// Potentially perform side effect in a lifecycle method | |
render() { | |
// Potentially perform side effect | |
return null | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment