YR
interface ITheComponent {
memorize?: boolean,
}
1)
const TheComponent: React.FC<ITheComponent> = ( { memorize, children } ) => {
...
}
2)
function TheComponent ( { memorize, children } ): React.FC<ITheComponent> {
...
}
Size: a a a
YR
c
R
Е
AM

YR
R
X
RU
const MyContext = React.createContext({})
export const MyContextProvider = MyContext.ProviderOR
const MyContext = React.createContext({})
export const MyContextProvider = MyContext.ProviderRU
OR
RU
R
ТФ
fe
D
ТФ
fe
ТФ