Dmitry Babin
Dmitry Babin
- [ ] Rest https://github.com/siberiacancode/mock-config-server/issues/90 - [ ] Graphql https://github.com/siberiacancode/mock-config-server/issues/92 - [ ] Cors https://github.com/siberiacancode/mock-config-server/issues/94 - [ ] Static - [ ] Database - [ ] Entities - [ ]...
ΠΠ°Π»ΠΈΠ» ΡΠ΅Π»ΠΈΠ· 0.0.70 Π² ΠΊΠΎΡΠΎΡΠΎΠΌ ΠΏΠΎΡΠΈΠΊΡΠΈΠ», ΠΌΠΎΠΆΠ½ΠΎ ΠΏΡΠΎΠ²Π΅ΡΡΡΡ
@virus231 hello, thx for open new issuse, can you share refs or example of hook and describe user cases, thx
@virus231 in progress
@virus231 Now I think a lot about the right click hook the useContextMenu hook looks more logical, you can immediately implement touch delay and scroll lock in it, right click...
I'm in a difficult situation right now, on the one hand I don't really want to make a hook for the sake of rigth click, because the context menu in...
```tsx import { useClickOutside, useLockScroll, useRightClick, } from "@siberiacancode/reactuse"; import { useRef, useState } from "react"; const useContextMenu = () => { const [position, setPosition] = useState(); const timerIdRef =...
in this example i implemented a custom hook from hooks for context
https://github.com/novajslabs/cli/blob/main/src/commands/add.ts cli ΠΌΠΎΠΆΠ½ΠΎ Π΄ΠΎΠ±Π°Π²ΠΈΡ Π½Π° ΡΡΠ΄Ρ Ρ ΡΡΠΈΠΌ, Π²ΠΎΠΎΠ±ΡΠ΅ Ρ ΡΡΠΈΡΠ°Ρ, ΡΡΠΎ ΡΡΠΎ ΡΠΆΠ΅ Π·ΠΎΠ»ΠΎΡΠΎΠΉ ΡΡΠ°Π½Π΄Π°ΡΡ
- [ ] cli - [ ] ΡΡΠ°Π½ΡΠΏΠΈΠ»ΡΡΠΈΡ ΠΈΠ· ts Π² js Π΄Π»Ρ cli