We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent abcbbe5 commit 9318c3bCopy full SHA for 9318c3b
src/pages/index.js
@@ -6,13 +6,15 @@ import Hero from "../components/landing/hero"
6
import Chapters from "../components/chapters/Chapters"
7
import { FrameworkContext } from "../frameworkContext"
8
import Partners from "../components/partners"
9
+import constants from "../constants"
10
const IndexPage = () => {
11
const [framework, setFramework] = useState("vue")
12
13
const toggleFramework = () => {
14
setFramework(framework => (framework === "vue" ? "react" : "vue"))
15
}
16
17
+ constants.track("App.LandingPage.View")
18
console.log("ff-1", framework)
19
return (
20
<FrameworkContext.Provider value={{ framework, toggleFramework }}>
0 commit comments