jw-hooks
TypeScript icon, indicating that this package has built-in type declarations

0.0.1-alpha.2 • Public • Published

jw-hooks

使用示例

import { createElement } from 'rax';
import { useTitle } from 'jw-hooks';

function Header() {

  useTitle('调用useTitle', {
    restoreOnUnmount: true,
  });

  return (
    <div>
      header
    </div>
  );
}

export default Header;

Readme

Keywords

none

Package Sidebar

Install

npm i jw-hooks

Weekly Downloads

1

Version

0.0.1-alpha.2

License

MIT

Unpacked Size

7.44 kB

Total Files

17

Last publish

Collaborators

  • jwchan1996