Skip to content

Getting started with Nova.js

Nova.js is a collection of dependency-free React hooks where you do not have to install anything. Simply use the CLI or copy their code in TypeScript or JavaScript.

Quick start by copying and pasting

Step 1: Choose your hook

Navigate to the Nova.js hooks page to explore the available hooks.

Step 2: Copy the code

Once you've found the desired Nova.js hook, click on the hook's page to access the code snippet. Copy the code in either TypeScript or JavaScript, depending on your project's requirements.

Step 3: Paste into your project

Open your React project and paste the copied code directly into your project.

Quick start with the CLI

Step 1: Choose your hook

Navigate to the Nova.js hooks page to explore the available hooks.

Step 2: Copy the CLI command

Once you've found the desired Nova.js hook, click on the hook's page to access the command to add it. Copy the command in either npm, yarn or pnpm.

Step 3: Run the command

Open you terminal, run the command and follow the instructions.

Quick start with the Visual Studio Code extension

Step 1: Installation

Open the extensions sidebar in Visual Studio Code and search for Nova.js or install it from the Visual Studio Marketplace.

Step 2: Choose your hook

Navigate to the Nova.js hooks page to explore the available hooks.

Step 3: Type the name of the hook

Inside of an existing or new .js, .ts, .jsx or .tsx file, type the name of the hook you want to use and press Enter.

That's it! You can now leverage the power of Nova.js hooks in your React project without the need for additional installations or dependencies. Happy coding!