Browser Console Warnings for JavaScript and Apex Actions with the Same Name

The framework logs a browser console warning if your component has a JavaScript function (client-side action) with the same name as an Apex method (server-side action). The warning is logged only in debug mode and can help in troubleshooting an otherwise hard-to-debug issue.

Here’s an example of the browser console warning for a c:dupActionName component that has a JavaScript function and Apex method with the same name, handleDup:

WARNING: Component 'c:dupActionName' has server and client action name conflicts: handleDup