Prerequisites
1
System Requirements
- Node.js: Make sure you have Node.js installed. The project uses
npm, which comes with Node.js. Install Node.js from here. - NPM: Ensure that npm is installed with Node.js. Alternatively.
To verify installation, run:
node -v
npm -v
2
Setup React
You can also choose your favorite React Frameworks .
# npm 7+, extra double-dash is needed:
npm create vite@latest my-react-app -- --template react
3
Installation
You need to have leehooks installed, So use in CLI terminal.
Warning
This is the first Product installation leehooks that guides to install NPM package
npm install @lixril/leehooks
4
Demo Code
Check hook is works or not.
"use client" //nextjs and works only in client
import { useActionState } from "@lixril/leehooks";
//Your Code