Docs
Installation

Installation

How to install dependencies and structure your app.

Frameworks

TypeScript

This project and its components are built using TypeScript. We strongly suggest using TypeScript for your project to take full advantage of its benefits.

However, we understand that some developers prefer JavaScript. For your convenience, we also offer a JavaScript version of the components. You can access the JavaScript version through our cli.

If you prefer not to use TypeScript, simply use the tsx flag in your hooks.json file to opt-out.

hooks.json
{
  "codestyle": "react-hooks",
  "tsx": false,
  "aliases": {
    "utils": "~/lib/utils",
    "hooks": "~/hooks"
  }
}

You can set up import aliases by using the following jsconfig.json configuration file.

jsconfig.json
{
  "compilerOptions": {
    "paths": {
      "@/*": ["./*"]
    }
  }
}