@kubb/react
The purpose of @kubb/react
is to provide a set of tools and components specifically designed for building applications with React using the Kubb framework. Here are some key aspects of its functionality:
- JSX: Utilize JSX to create files while harnessing the power of Kubb for orchestration.
- Component Library: It includes pre-built components that can be used in file generation.
- Type Safety: Since it is built on TypeScript,
@kubb/react
ensures type safety. - Uncoupled of Kubb:
@kubb/react
can be used without needing to use@kubb/core
or akubb.config.ts
file. - DevTools: Because we use React, you easily attach the React DevTools, see Debugging Kubb.
In summary, @kubb/react
serves as a bridge between the Kubb framework and React, offering tools, components, and type safety to streamline the creation of Files.
Installation
shell
bun add @kubb/react
shell
pnpm add @kubb/react
shell
npm install @kubb/react
shell
yarn add @kubb/react