1.0.4 • Published 2 years ago
use-null-ref v1.0.4
use-null-ref
Super simple hook for eslint-plugin-no-null
users
Getting started
$ npm i use-null-ref
Overview
import { useRef } from 'react'
export const useNullRef = <T>() => useRef<T>(null)
Super simple hook for eslint-plugin-no-null
users
$ npm i use-null-ref
import { useRef } from 'react'
export const useNullRef = <T>() => useRef<T>(null)