import './App.css'
import UseLearnState from './components/UseLearnState'
import UseLearnEffect from './components/UseLearnEffect'
import UseDemo from './components/UseDemo'
import UseLearnMemo from './components/UseLearnMemo'
import UseLearnCallBack from './components/UseLearnCallBack'
import UseDemo1 from './components/UseDemo1'
import UseLearnContext from './components/UseLearnContext'
import { useState } from 'react'


function App() {
  const [isShow, setIsShow] = useState(true)
  return (
    <>
      <h1>首页</h1>
      <UseLearnContext />
      {/* <UseLearnMemo /> */}
      {/* {isShow ? <UseLearnEffect /> : '无内容'} */}
      {/* {isShow ? <UseDemo /> : '无内容'} */}
    </>
  )
}

export default App
