DocsPlaygroundBlogCommunity
  • Playground
  • Blog
  • Community
  • X
  • Bluesky
  • GitHub
  • Forum
3
 
1
type rec student = {taughtBy: teacher}
2
and teacher = {students: array<student>}
3
​
⣿

React

Create a React component called 'App' if you want to render it here, then click 'Run' or enable 'Auto-run'.


Console

Add some 'Console.log' to your code and click 'Run' or enable 'Auto-run' to see your logs here.

Setup failed: Could not load compiler from url /playground-bundles/v11.1.4/compiler.js
Setup failed: Could not load compiler from url /playground-bundles/v11.1.4/compiler.js