Quantcast
Channel: ReScript Forum - Latest posts
Viewing all articles
Browse latest Browse all 1751

Output of the code run in the Playground

$
0
0

Personally, I would prefer the following setup:

  1. Console Logs in Browser’s Developer Tools: Display the console logs in the developer tools of the browser as usual. This approach avoids the issues with stringifying and provides a familiar and fully functional environment for debugging.
  2. Render React Components in the Playground: When there are React components to render, display them directly in the Playground. This allows for immediate visual feedback and testing of UI components without cluttering the interface with logs.

This way, I can effectively debug my code using the developer tools and still see my React components rendered directly in the Playground when needed.


Viewing all articles
Browse latest Browse all 1751

Trending Articles