release: WRNexusJS 0.2.54
This commit is contained in:
@@ -94,6 +94,13 @@ realtime chat {
|
||||
}
|
||||
```
|
||||
|
||||
Put `// @required` immediately above a prop when callers must provide it while
|
||||
retaining a typed runtime fallback. `propName = undefined` is also treated as
|
||||
required when no fallback is appropriate. The editor shows required props first
|
||||
in completion lists and reports an error when a component mount omits one. Prop
|
||||
types are inferred from defaults, and string options used in component comparisons
|
||||
are offered as completion choices.
|
||||
|
||||
Embedded language highlighting:
|
||||
|
||||
- `view { ... }` uses HTML highlighting.
|
||||
|
||||
Reference in New Issue
Block a user