Hook Packages

tilt-hook

A simple React hook that creates a tilting card effect. ```jsx export default function CardWrapper() { const wrapperElement = useRef() const cardElement = useRef() const setDistance = useTilt(wrapperElement, cardElement, { degree: 30 })

1.0.18 • Published 4 months ago

trace-hook

一个轻量化的全链路追踪中间件, 可生成TraceID, 并将TraceID注入到各种请求中, 以便于在日志中查看请求的完整链路, 目前支持logger koa-logger axios mq A lightweight, full-link tracking middleware that generates traceIds and injects traceIds into various requests so that the full link of the request can be v

0.2.17 • Published 4 months ago