do you plan to support React server components? if so, when could it be?
Thanks
1 Answer, 1 is accepted
0
Kiril
Telerik team
answered on 25 May 2023, 07:36 AM
Hello Matúš,
Thank you for your interest in the RSC support of the KendoReact components.
We have initiated an effort to research how RSC can be utilized in the KendoReact components to take advantage of the technology and I can assure you that we're just as excited for Server components as the whole react community!
Currently, If you try to use KendoReact components in an RSC environment, you might experience an error for missing `use client` directive. Please refer to the Third-party libraries article on the Next.js docs for more information about how to wrap third-party UI components and mark them as client.
As a short-term plan, we are evaluating the need to explicitly add the `use client` directive in order remove the need for the above-mentioned workaround.
Due to RSCs being still an experimental feature, the limited number of supported frameworks (next.js) and the lack of official documentation apart from the React RFC issues, it's impossible for us to provide any estimation on when we would be able to take full advantage of the technology and deeply integrate it into our UI offering.
As a final note, I would like to encourage you to share any feedback, specific expectations or additional thought you have about KendoReact support for RSC - either here, or in our feedback portal.