I have created a editable grid by using two rules, one rule for grid configuration and second to create "gridRowLayout". When second rule is being iterated in foreach then on save of each field of grid entire form is refreshing itself which is not happening when second rule is being iterated by applycomponents. Here something, I am missing or someone else also faced same?
Discussion posts and replies are publicly visible
applyComponents might as well be deprecated. You can achieve the same functionality with a!forEach, except that it's a little simpler, more readable, and occasionally it's even possible to do stuff that was impossible with applyComponents. And you don't have to learn partial evaluation to be able to do it.
It's so might as well be deprecated, that when they invented a!forEach they actually removed the recipes using a!applyComponents from the documentation. Go ahead and replace it with a!forEach that does the same thing, or the same thing only better.
Future developers on the project, maybe even future you, will thank you.
a!forEach() is definitely the way to go, for all the reasons David mentions.