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