Skip to content

Da1v1d/kuku

Repository files navigation

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

Code Styles

  1. Global concepts
const t = useTranslation()
const router = useRouter()
  1. Global States, can be also regulat state if needed create before queries
const state = useAppStore()
const [state,setState] = useState()
  1. Queries, fetching data or custom Hooks
const {data} = useQuery()
const customData = useCustomHook()
  1. State, ref and data
const [state,setState] = useState()
const ref = useRef()
const data = state + 5
  1. Functions
const func = () => {}
  1. LifeCycle Hooks
useEffect(() => {},[])

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors