-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
Closed
Labels
Description
In #915 it is pointed out that the global delimiter option makes an application with custom delimiters incompatible with 3rd-party components that assumes the default delimiter settings. The solution would be either
- A: Allow components to define a component-level delimiter setting that overwrites the global, so that 3rd-party components that are intended to be generally reusable can lock down its own delimiters.
or
- B: Remove the global delimiter setting and make it strictly component-level.
Option A is backwards compatible but it requires component authors to be aware of this requirement.
Option B is breaking and requires this option in every component that needs custom delimiters. However it should be noted that in most cases, the only component that needs a custom delimiter is the root instance in the HTML (so that it can be compatible with server-side templating languages that also uses mustaches)