让你的React代码像医生检查病人一样,没问题 | react-doctor
先看README开头这段代码: `tsx const COMPONENT_MAP = { header: Header, footer: Footer, }; const Page = ({ name }: { name: string }) => { const Component = COMPO...
先看README开头这段代码: `tsx const COMPONENT_MAP = { header: Header, footer: Footer, }; const Page = ({ name }: { name: string }) => { const Component = COMPO...