You need to sign in to do that
Don't have an account?
Rajesh3699
Prevent Creation of Function Expressions When Using $A.createComponent() or $A.createComponents() in Aura Components.
As the above mentioned critical update will be activated by Jan 2021, can someone post a sample code, which may cause error post this activation.
I could not completely understand what does salesforce mean by Function Expressions, are they saying we cannot call any functions which inturn returns the value for the specified label or attibute...
I saw some of the sample code but wanted to be more sure about this release update.
https://salesforce.stackexchange.com/questions/280965/example-for-banning-functions-in-a-createcomponent-after-spring19
https://salesforce.stackexchange.com/questions/278743/aura-component-critical-updates-related-to-a-createcomponent-or-a-createcomp
Thank You,
I could not completely understand what does salesforce mean by Function Expressions, are they saying we cannot call any functions which inturn returns the value for the specified label or attibute...
I saw some of the sample code but wanted to be more sure about this release update.
https://salesforce.stackexchange.com/questions/280965/example-for-banning-functions-in-a-createcomponent-after-spring19
https://salesforce.stackexchange.com/questions/278743/aura-component-critical-updates-related-to-a-createcomponent-or-a-createcomp
Thank You,
This critical update applies only if you are using $A.createComponent() or $A.createComponents() attributes.
Review below link which has details, you can activate critical update in your sandbox to see if there are any error's or unexpected behaviour.
https://releasenotes.docs.salesforce.com/en-us/winter20/release-notes/rn_aura_expr_dynamic_cmp_cruc.htm
Hope above information was helpful.
Please mark as Best Answer so that it can help others in the future.
Thanks,
Vinay Kumar