import dynamic from "next/dynamic"; import { Inter } from "next/font/google"; import { useState } from "react"; export default function Home() { const [showBanner, setShowBanner] = useState(true); const [lessons, setLessons] = useState([]); const loadLesson = (name: string) => { setShowBanner(false); const LessonContainer = dynamic( () => import("../components/LessonContainer"), { loading: () =>

Loading...

} ); setLessons([...lessons, ]); }; return (
Intro

Functional programming is a structured way of thinking that gives us a better understanding about how programs behave. Although it relies on theoretical foundations, the things you will take away will help guide your thinking no matter what paradigm!

Ready to start learning functional programming? Click one of the buttons below to get started!

{lessons}
); }