Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items
Hi i am not using class based component, i am working with functional component. I will not have render method.
And secondly i don't want to follow dom route, is there any property which will do the work for me.
This this example we need to iterate and keep track of that.
0
Stefan
Telerik team
answered on 04 Jul 2019, 11:06 AM
Hello, Mukesh,
Regarding the issues:
1) If the app is using functional components instead of in render this can executed in a separate function. The main idea is to execute it after the selection logic, so the array with the selected Ids is already updated to correctly determine intermediate when the state has to be set.
2) As for following the DOM route, this is actually suggested by the React team in the following issue. Please check the following discussion:
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items