jw-hooks
v0.0.1-alpha.2
Published
jw-hooks
Downloads
4
Readme
jw-hooks
使用示例
import { createElement } from 'rax';
import { useTitle } from 'jw-hooks';
function Header() {
useTitle('调用useTitle', {
restoreOnUnmount: true,
});
return (
<div>
header
</div>
);
}
export default Header;