Prevention Packages

encodehtml

escaping and unescaping HTML entities – commonly needed utils to prevent XSS attacks when rendering user generated content

0.1.0 • Published 8 years ago

usememoryleakprevention

The useMemoryLeakPrevention hook is a custom React hook that provides an easy way to clean up any resources or subscriptions that might cause memory leaks when a component is unmounted. The hook uses useEffect and useCallback hooks to ensure that the clea

1.0.3 • Published 1 year ago