-
-
Save RodrigoPauletti/abdd75944f678a8cf8f35a4cf7e47d7b to your computer and use it in GitHub Desktop.
Display data in React, kinda like PHP's var_dump();
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
const dataDump = props => <pre>{JSON.stringify(props, null, 2)}</pre> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment