As an ISV, I need to establish communication between LWC and Visualforce page. I am planning to leverage LMS and I have 2 questions:
Which are the best practices regarding Lightning Message Channels? Should I create them granular, 1 message channel for each event/purpose; or on the other hand should I create a generic Message Channel with couple of generic fields, like in this example?
In the Visualforce developer guide the documentation states:
Do not include a message channel in a package that you plan to install into production orgs. The installation will fail.
As per my understanding, this statement is wrong, since including a message channel in a package does not cause the installation to fail, we have tested it. Does it meanDo not include in a package a Visualforce page that is using LMS
? I would like to know if anyone has tried and can confirm it, because I have tried it as well and it works properly when installed in a developer org.