This questions has been asked multiple times but there is not a workable solution to this problem.
Use Case: we are building a dynamic form rendering engine where we have sections, sub-sections and we are using record/record-edit forms to show fields and objects on these sub sections. for each sub-section there is a custom object record from where we read fields and objects.
This is a managed package where someone can install and add their own configuration and the form will render in UI.
Problem: If there are complex use cases which record/record-edit forms cannot do we have also given a provision where in the same sub-section custom object record , you can give your own custom component name. In aura, this worked since we can render dynamic components using
Documentation says use slots/make the markup predictable but if this has to be a managed package and render dynamic components based on each client's need how can we have static markup in LWC since we wont know the component name before run-time.
Any thoughts or ideas on this would be truly appreciated