This snippet is written in typescript. Syntax is <>
used to indicate a general restriction on a component.
My advice: if you are not using typescript, you can simply ignore this notation when reading the tutorial. However, if you are interested in learning more:
typescript generics.
Component
/-native typescript .
, , (this.props
) (this.state
).
, {}
- , , - . JSX <App />
. , {}
, , . , ( jsx, typescript).
, , , , <>
, - , , "" , this.props
. , .