Hi everyone!
We’ve recently added the ability to run the code that you wrote in the Playground and to display the logs generated by your code inside a “Console” tab.
Displaying the console logs in the playground require them to be stringified which sometimes leads to weird results (eg for undefined, functions, errors, etc), so another solution would be to still run the code but display the logs inside the console tab of the developer tool of your browser as usual.
We’d also like to introduce the possibility to render your React components inside the playground. In order to limit the number of tabs, one solution could be to either display the React components when there are some (but no rendering of the logs in this case) and to display the logs otherwise.
So, what would be your personal preference?
Don’t hesitate to comment and explain your choice!