You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

1 lines
5.3 KiB

"use strict";(self.webpackChunkantd=self.webpackChunkantd||[]).push([[9695],{953295:function(d,u,n){n.r(u);var r=n(502143),v=n(968521),m=n(720719),Z=n(28840),l=n(759907),c=n(828089),h=n(825673),E=n(902068),g=n(574399),x=n(863942),P=n(316073),D=n(24628),A=n(719260),M=n(956140),O=n(127179),T=n(905388),C=n(40428),I=n(606965),p=n(268696),R=n(587302),t=n(424128),f=n(249706),L=n(795127),b=n(116846),B=n(212039),K=n(73024),U=n(553913),a=n(606641),i=n(667294),_=n(370917);function s(){var o=(0,a.eL)(),e=o.texts;return(0,_.tZ)(a.dY,null,(0,_.tZ)(i.Fragment,null,(0,_.tZ)("div",{className:"markdown"},(0,_.tZ)("p",null,e[0].value),(0,_.tZ)("p",null,e[1].value,(0,_.tZ)(t.Z,{href:"https://reactjs.org/docs/perf.html",sourceType:"a"},e[2].value),e[3].value),(0,_.tZ)("h3",{id:"render-count-statistics"},(0,_.tZ)(t.Z,{"aria-hidden":"true",tabIndex:"-1",href:"#render-count-statistics",sourceType:"a"},(0,_.tZ)("span",{className:"icon icon-link"})),"Render count statistics"),(0,_.tZ)("p",null,e[4].value),(0,_.tZ)("p",null,e[5].value,(0,_.tZ)("code",null,e[6].value),e[7].value,(0,_.tZ)("code",null,e[8].value),e[9].value,(0,_.tZ)("code",null,e[10].value),e[11].value,(0,_.tZ)("code",null,e[12].value),e[13].value,(0,_.tZ)("code",null,e[14].value),e[15].value,(0,_.tZ)("code",null,e[16].value),e[17].value,(0,_.tZ)("code",null,e[18].value),e[19].value,(0,_.tZ)(t.Z,{href:"https://github.com/ant-design/ant-design/issues/33342",sourceType:"a"},e[20].value),e[21].value,(0,_.tZ)("code",null,e[22].value),e[23].value,(0,_.tZ)("code",null,e[24].value),e[25].value),(0,_.tZ)("p",null,e[26].value,(0,_.tZ)(t.Z,{href:"https://github.com/react-component/table",sourceType:"a"},(0,_.tZ)("code",null,e[27].value)),e[28].value,(0,_.tZ)(t.Z,{href:"https://github.com/react-component/table/blob/ecf3fdb77523b370ee86e19164e95f00e65281a8/src/hooks/useRenderTimes.tsx",sourceType:"a"},(0,_.tZ)("code",null,e[29].value)),e[30].value,(0,_.tZ)("code",null,e[31].value),e[32].value),(0,_.tZ)("p",null,(0,_.tZ)("img",{src:"https://mdn.alipayobjects.com/huamei_7uahnr/afts/img/A*vlwQQIcEXFkAAAAAAAAAAAAADrJ8AQ/original",alt:"VDM"})),(0,_.tZ)(l.Z,{lang:"tsx"},e[33].value),(0,_.tZ)("h3",{id:"context"},(0,_.tZ)(t.Z,{"aria-hidden":"true",tabIndex:"-1",href:"#context",sourceType:"a"},(0,_.tZ)("span",{className:"icon icon-link"})),"Context"),(0,_.tZ)("h4",{id:"usememo"},(0,_.tZ)(t.Z,{"aria-hidden":"true",tabIndex:"-1",href:"#usememo",sourceType:"a"},(0,_.tZ)("span",{className:"icon icon-link"})),"useMemo"),(0,_.tZ)("p",null,e[34].value,(0,_.tZ)("code",null,e[35].value),e[36].value,(0,_.tZ)("code",null,e[37].value),e[38].value),(0,_.tZ)(l.Z,{lang:"tsx"},e[39].value),(0,_.tZ)("p",null,e[40].value,(0,_.tZ)("code",null,e[41].value),e[42].value,(0,_.tZ)("code",null,e[43].value),e[44].value,(0,_.tZ)("code",null,e[45].value),e[46].value,(0,_.tZ)("code",null,e[47].value),e[48].value,(0,_.tZ)("code",null,e[49].value),e[50].value),(0,_.tZ)(l.Z,{lang:"tsx"},e[51].value),(0,_.tZ)("p",null,e[52].value,(0,_.tZ)(t.Z,{href:"https://github.com/jsx-eslint/eslint-plugin-react/blob/3256c92ca1b3bc7ec3461a89c278c797e7dc18cb/docs/rules/jsx-no-constructed-context-values.md",sourceType:"a"},e[53].value),e[54].value),(0,_.tZ)("h4",{id:"split-context"},(0,_.tZ)(t.Z,{"aria-hidden":"true",tabIndex:"-1",href:"#split-context",sourceType:"a"},(0,_.tZ)("span",{className:"icon icon-link"})),"Split Context"),(0,_.tZ)("p",null,e[55].value,(0,_.tZ)("code",null,e[56].value),e[57].value,(0,_.tZ)("code",null,e[58].value),e[59].value,(0,_.tZ)("code",null,e[60].value),e[61].value,(0,_.tZ)("code",null,e[62].value),e[63].value),(0,_.tZ)(l.Z,{lang:"tsx"},e[64].value),(0,_.tZ)("p",null,e[65].value,(0,_.tZ)("code",null,e[66].value),e[67].value),(0,_.tZ)("ul",null,(0,_.tZ)("li",null,e[68].value),(0,_.tZ)("li",null,e[69].value),(0,_.tZ)("li",null,e[70].value),(0,_.tZ)("li",null,e[71].value),(0,_.tZ)("li",null,e[72].value),(0,_.tZ)("li",null,e[73].value),(0,_.tZ)("li",null,e[74].value)),(0,_.tZ)("h4",{id:"usecontextselector"},(0,_.tZ)(t.Z,{"aria-hidden":"true",tabIndex:"-1",href:"#usecontextselector",sourceType:"a"},(0,_.tZ)("span",{className:"icon icon-link"})),"useContextSelector"),(0,_.tZ)("p",null,e[75].value,(0,_.tZ)("code",null,e[76].value),e[77].value,(0,_.tZ)(t.Z,{href:"https://github.com/reactjs/rfcs/pull/118",sourceType:"a"},e[78].value),e[79].value,(0,_.tZ)(t.Z,{href:"https://github.com/reactjs/rfcs/pull/119",sourceType:"a"},e[80].value),e[81].value,(0,_.tZ)("code",null,e[82].value),e[83].value),(0,_.tZ)("p",null,(0,_.tZ)("img",{src:"https://mdn.alipayobjects.com/huamei_7uahnr/afts/img/A*-UFKR7TTSv0AAAAAAAAAAAAADrJ8AQ/original",alt:"React 18"})),(0,_.tZ)("p",null,e[84].value,(0,_.tZ)("code",null,e[85].value),e[86].value),(0,_.tZ)(l.Z,{lang:"tsx"},e[87].value),(0,_.tZ)("h3",{id:"closure-problem"},(0,_.tZ)(t.Z,{"aria-hidden":"true",tabIndex:"-1",href:"#closure-problem",sourceType:"a"},(0,_.tZ)("span",{className:"icon icon-link"})),"Closure problem"),(0,_.tZ)("p",null,e[88].value,(0,_.tZ)("code",null,e[89].value),e[90].value),(0,_.tZ)(l.Z,{lang:"tsx"},e[91].value),(0,_.tZ)("p",null,e[92].value,(0,_.tZ)("code",null,e[93].value),e[94].value),(0,_.tZ)("p",null,e[95].value,(0,_.tZ)("code",null,e[96].value),e[97].value),(0,_.tZ)("h3",{id:"finally"},(0,_.tZ)(t.Z,{"aria-hidden":"true",tabIndex:"-1",href:"#finally",sourceType:"a"},(0,_.tZ)("span",{className:"icon icon-link"})),"Finally"),(0,_.tZ)("p",null,e[98].value))))}u.default=s}}]);