The module react-ecs is exposed by the sdk in the /react-ecs path.
UI components and semantics for the SDK 7.
JSX & Flexbox is used due to its market adoption and availability of implementations and documentation and expertise.
import ReactEcs, { Label, ReactEcsRenderer } from '@dcl/sdk/react-ecs'const Ui = () => <Label value="SDK 7" />ReactEcsRenderer.setUiRenderer(ui)
Go to the Function section to see all the UI Components.
The module react-ecs is exposed by the sdk in the /react-ecs path.
UI components and semantics for the SDK 7.
JSX & Flexbox is used due to its market adoption and availability of implementations and documentation and expertise.
Example
Go to the Function section to see all the UI Components.