You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@answer.apache.org by "surapuramakhil (via GitHub)" <gi...@apache.org> on 2024/03/05 10:53:35 UTC

Re: [D] Every React Component is a Funtional Component killing Extensibility [incubator-answer]

GitHub user surapuramakhil edited a discussion: Every React Component is a Funtional Component killing Extensibility

This is how react components are written in this project.

```tsx
const Index = () => {
.....
}
export default React.memo(Index);
```

If I want to make few custom changes to the components that only applies which only makes sense to **my site** but not at Apache answer level. I won't be able to extend them since they are written as functional components. If OOPS can be applied there, then I would be able to make my changes.

GitHub link: https://github.com/apache/incubator-answer/discussions/826

----
This is an automatically sent email for commits@answer.apache.org.
To unsubscribe, please send an email to: commits-unsubscribe@answer.apache.org