Not possible to overwrite layouts and/or INDEX_OPTIONS without being forced to use Blaze #3523
Labels
enhancement
For issues that describe a feature that needs to be added, changed, or removed, but is not a bug
Issue:
coreLayout.js renders the content of <main> through Blaze in an unconditional manner.
This forces users who wish to write customized views to write deprecated Blaze templates. That's not good.
An intermediary solution would be to render a Blaze , if a Blaze template with the passed name is available. If not, coreLayout could probe for a React component and use that as fallback.
That way the old behaviour is guaranteed, even if there's a Blaze template and a React component with the same name (which should not happen anyway, because Blaze templates should be camelcased and React component name start with upper letter).
The text was updated successfully, but these errors were encountered: