mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-27 12:39:49 +08:00
1 line
6.2 KiB
JavaScript
1 line
6.2 KiB
JavaScript
(("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd=("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd||[]).push([["e5ae3a9c"],{e5ae3a9c:function(e,l,a){"use strict";a.d(l,"__esModule",{value:!0}),a.d(l,"default",{enumerable:!0,get:function(){return h;}});var s=a("777fffbe"),c=a("f19d2b93"),n=s._(a("b622e337")),d=s._(a("97c488ea")),u=s._(a("c96b0d01")),i=a("5b220c3d"),r=a("9c86e52a");function t(){let{texts:e}=(0,r.useRouteMeta)();return(0,c.jsx)(c.Fragment,{children:(0,c.jsxs)("div",{className:"markdown",children:[(0,c.jsx)("p",{children:e[0].value}),(0,c.jsxs)("p",{children:[e[1].value,(0,c.jsx)(d.default,{href:"https://reactjs.org/docs/perf.html",sourceType:"a",children:e[2].value}),e[3].value]}),(0,c.jsxs)("h3",{id:"render-count-statistics",children:[(0,c.jsx)(d.default,{"aria-hidden":"true",tabIndex:"-1",href:"#render-count-statistics",sourceType:"a",children:(0,c.jsx)("span",{className:"icon icon-link"})}),"Render count statistics"]}),(0,c.jsx)("p",{children:e[4].value}),(0,c.jsxs)("p",{children:[e[5].value,(0,c.jsx)("code",{children:e[6].value}),e[7].value,(0,c.jsx)("code",{children:e[8].value}),e[9].value,(0,c.jsx)("code",{children:e[10].value}),e[11].value,(0,c.jsx)("code",{children:e[12].value}),e[13].value,(0,c.jsx)("code",{children:e[14].value}),e[15].value,(0,c.jsx)("code",{children:e[16].value}),e[17].value,(0,c.jsx)("code",{children:e[18].value}),e[19].value,(0,c.jsx)(d.default,{href:"https://github.com/ant-design/ant-design/issues/33342",sourceType:"a",children:e[20].value}),e[21].value,(0,c.jsx)("code",{children:e[22].value}),e[23].value,(0,c.jsx)("code",{children:e[24].value}),e[25].value]}),(0,c.jsxs)("p",{children:[e[26].value,(0,c.jsx)(d.default,{href:"https://github.com/react-component/table",sourceType:"a",children:(0,c.jsx)("code",{children:e[27].value})}),e[28].value,(0,c.jsx)(d.default,{href:"https://github.com/react-component/table/blob/ecf3fdb77523b370ee86e19164e95f00e65281a8/src/hooks/useRenderTimes.tsx",sourceType:"a",children:(0,c.jsx)("code",{children:e[29].value})}),e[30].value,(0,c.jsx)("code",{children:e[31].value}),e[32].value]}),(0,c.jsx)("p",{children:(0,c.jsx)("img",{src:"https://mdn.alipayobjects.com/huamei_7uahnr/afts/img/A*vlwQQIcEXFkAAAAAAAAAAAAADrJ8AQ/original",alt:"VDM"})}),(0,c.jsx)(n.default,{lang:"tsx",children:e[33].value}),(0,c.jsxs)("h3",{id:"context",children:[(0,c.jsx)(d.default,{"aria-hidden":"true",tabIndex:"-1",href:"#context",sourceType:"a",children:(0,c.jsx)("span",{className:"icon icon-link"})}),"Context"]}),(0,c.jsxs)("h4",{id:"usememo",children:[(0,c.jsx)(d.default,{"aria-hidden":"true",tabIndex:"-1",href:"#usememo",sourceType:"a",children:(0,c.jsx)("span",{className:"icon icon-link"})}),"useMemo"]}),(0,c.jsxs)("p",{children:[e[34].value,(0,c.jsx)("code",{children:e[35].value}),e[36].value,(0,c.jsx)("code",{children:e[37].value}),e[38].value]}),(0,c.jsx)(n.default,{lang:"tsx",children:e[39].value}),(0,c.jsxs)("p",{children:[e[40].value,(0,c.jsx)("code",{children:e[41].value}),e[42].value,(0,c.jsx)("code",{children:e[43].value}),e[44].value,(0,c.jsx)("code",{children:e[45].value}),e[46].value,(0,c.jsx)("code",{children:e[47].value}),e[48].value,(0,c.jsx)("code",{children:e[49].value}),e[50].value]}),(0,c.jsx)(n.default,{lang:"tsx",children:e[51].value}),(0,c.jsxs)("p",{children:[e[52].value,(0,c.jsx)(d.default,{href:"https://github.com/jsx-eslint/eslint-plugin-react/blob/3256c92ca1b3bc7ec3461a89c278c797e7dc18cb/docs/rules/jsx-no-constructed-context-values.md",sourceType:"a",children:e[53].value}),e[54].value]}),(0,c.jsxs)("h4",{id:"split-context",children:[(0,c.jsx)(d.default,{"aria-hidden":"true",tabIndex:"-1",href:"#split-context",sourceType:"a",children:(0,c.jsx)("span",{className:"icon icon-link"})}),"Split Context"]}),(0,c.jsxs)("p",{children:[e[55].value,(0,c.jsx)("code",{children:e[56].value}),e[57].value,(0,c.jsx)("code",{children:e[58].value}),e[59].value,(0,c.jsx)("code",{children:e[60].value}),e[61].value,(0,c.jsx)("code",{children:e[62].value}),e[63].value]}),(0,c.jsx)(n.default,{lang:"tsx",children:e[64].value}),(0,c.jsxs)("p",{children:[e[65].value,(0,c.jsx)("code",{children:e[66].value}),e[67].value]}),(0,c.jsxs)("ul",{children:[(0,c.jsx)("li",{children:e[68].value}),(0,c.jsx)("li",{children:e[69].value}),(0,c.jsx)("li",{children:e[70].value}),(0,c.jsx)("li",{children:e[71].value}),(0,c.jsx)("li",{children:e[72].value}),(0,c.jsx)("li",{children:e[73].value}),(0,c.jsx)("li",{children:e[74].value})]}),(0,c.jsxs)("h4",{id:"usecontextselector",children:[(0,c.jsx)(d.default,{"aria-hidden":"true",tabIndex:"-1",href:"#usecontextselector",sourceType:"a",children:(0,c.jsx)("span",{className:"icon icon-link"})}),"useContextSelector"]}),(0,c.jsxs)("p",{children:[e[75].value,(0,c.jsx)("code",{children:e[76].value}),e[77].value,(0,c.jsx)(d.default,{href:"https://github.com/reactjs/rfcs/pull/118",sourceType:"a",children:e[78].value}),e[79].value,(0,c.jsx)(d.default,{href:"https://github.com/reactjs/rfcs/pull/119",sourceType:"a",children:e[80].value}),e[81].value,(0,c.jsx)("code",{children:e[82].value}),e[83].value]}),(0,c.jsx)("p",{children:(0,c.jsx)("img",{src:"https://mdn.alipayobjects.com/huamei_7uahnr/afts/img/A*-UFKR7TTSv0AAAAAAAAAAAAADrJ8AQ/original",alt:"React 18"})}),(0,c.jsxs)("p",{children:[e[84].value,(0,c.jsx)("code",{children:e[85].value}),e[86].value]}),(0,c.jsx)(n.default,{lang:"tsx",children:e[87].value}),(0,c.jsxs)("h3",{id:"closure-problem",children:[(0,c.jsx)(d.default,{"aria-hidden":"true",tabIndex:"-1",href:"#closure-problem",sourceType:"a",children:(0,c.jsx)("span",{className:"icon icon-link"})}),"Closure problem"]}),(0,c.jsxs)("p",{children:[e[88].value,(0,c.jsx)("code",{children:e[89].value}),e[90].value]}),(0,c.jsx)(n.default,{lang:"tsx",children:e[91].value}),(0,c.jsxs)("p",{children:[e[92].value,(0,c.jsx)("code",{children:e[93].value}),e[94].value]}),(0,c.jsxs)("p",{children:[e[95].value,(0,c.jsx)("code",{children:e[96].value}),e[97].value]}),(0,c.jsxs)("h3",{id:"finally",children:[(0,c.jsx)(d.default,{"aria-hidden":"true",tabIndex:"-1",href:"#finally",sourceType:"a",children:(0,c.jsx)("span",{className:"icon icon-link"})}),"Finally"]}),(0,c.jsx)("p",{children:e[98].value})]})});}var h=function(){return(0,c.jsx)(r.DumiPage,{children:(0,c.jsx)(i.Suspense,{fallback:(0,c.jsx)(u.default,{}),children:(0,c.jsx)(t,{})})});};}}]); |