@banghook/use-title
v1.0.0
Published
react hook use title
Readme
Usage
function App() {
const titleUpdater = useTitle("Loading...");
setTimeout(() => titleUpdater("Home"), 1000);
return (
<div className="App">
<div>
<h1>Hi</h1>
</div>
</div>
);
}