import React from "react"; const CTXString = React.createContext("lol"); type StateBinding = [get:T, set:React.StateUpdater]; const CTXState = React.createContext(null) as React.Context|null>; const Outer =(props:{children:React.JSX.Element})=> { const binding = React.useState(11); return {props.children} }; const Inner =()=> { const [stateGet, stateSet] = React.useContext(CTXState) || ["default", ()=>{}]; return }; type Store = {name:string, age:number} const reducer =(inState:Store, inAction:number)=> { return {...inState, age:inState.age+inAction}; } const builder =(inState:Store):Store=> { inState.age = 100; return inState; } export default ()=> { const [Store, Dispatch] = React.useReducer(reducer, {name:"seth", age:24} as Store, builder) return

Title

subtitle

; }