4
let name = Some("Andrea")
<Greeting ?name />
⣿
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.
Type Errors
[E] Line 3, column 1:
The module or file Greeting can't be found. - If it's a third-party dependency: - Did you add it to the "bs-dependencies" or "bs-dev-dependencies" in bsconfig.json? - Did you include the file's directory to the "sources" in bsconfig.json? Hint: Did you mean Ordering?
Type Errors
[E] Line 3, column 1:
The module or file Greeting can't be found. - If it's a third-party dependency: - Did you add it to the "bs-dependencies" or "bs-dev-dependencies" in bsconfig.json? - Did you include the file's directory to the "sources" in bsconfig.json? Hint: Did you mean Ordering?
ReScript Version
Module-System
Loaded Libraries
- @rescript/react
- compiler-builtins
- @rescript/core
Warning Flags
+a-4-9-20-40-41-42-50-61-102
Type + / - followed by a number or letter (e.g. +a+1)