0.11.0 • Published 2 months ago

@czaplej/use-ref-constant v0.11.0

Weekly downloads
37
License
MIT
Repository
github
Last release
2 months ago

@czaplej/use-ref-constant

license npm latest package

Remember the initial value of function

Installation

npm

npm install --save  @czaplej/use-ref-constant

yarn

yarn add  @czaplej/use-ref-constant

Usage

const App = (props) => {
  // always return the initial props
  const initialValue = useRefConstant(() => props);

  return <>...</>;
};

This library was generated with Nx.

0.11.0

2 months ago

0.10.1

4 months ago

0.10.0

3 years ago

0.9.0

3 years ago

0.8.0

3 years ago

0.5.0

3 years ago

0.7.0

3 years ago

0.6.0

3 years ago

0.3.0

3 years ago

0.4.0

3 years ago

0.2.0

3 years ago

0.1.0

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago