This project consists of two main packages that contains react-lua hooks.
- Lua hooks: general-purpose collection of hooks for react-lua
- Roblox hooks: hooks specifically made for Roblox development
Add these packages to your dependencies:
yarn add @seaofvoices/react-lua-hooks
yarn add @seaofvoices/react-roblox-hooks
Or if you are using npm
:
npm install @seaofvoices/react-lua-hooks
npm install @seaofvoices/react-roblox-hooks
If you would like to use this library on a Lua environment where it is currently incompatible, open an issue (or comment on an existing one) to request the appropriate modifications.
The library uses darklua to process its code.