You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 15, 2023. It is now read-only.
When using JSX 4, it is possible to create a component without @react.component by just creating a module with a props type and a function make: props => React.element. This can be useful in some cases, or even required due to nominal typing if we want to ensure that multiple components share the same props type.
However, if we create a component that way, its name will just be make. For example, when rendering the following component