Skip to content

Commit

Permalink
test: Add hooks usage
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon committed Sep 13, 2019
1 parent ad42cdd commit fe87fd2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pages/index.js
@@ -1,4 +1,10 @@
import React from "react";

function Home() {
React.useEffect(() => {
console.log("committed");
});

return <div>Welcome to Next.js!</div>;
}

Expand Down

0 comments on commit fe87fd2

Please sign in to comment.