coldbox-modules / cbwire

CBWIRE is a ColdBox module that makes building reactive, modern apps easy using HTML-over-the-wire technologies and CFML.
https://cbwire.ortusbooks.com
Other
28 stars 5 forks source link

HTML comments in component templates causes re-renders not to work. #122

Closed grantcopley closed 1 year ago

grantcopley commented 1 year ago
<cfoutput>
    <!-- this comment causes issues -->
    <div>
        <div>
            <h1>#conference#</h1>
        </div>
        <div class="mt-4">
            <a href="##" wire:click.prevent="changeConference" type="button" class="btn btn-primary me-2">Change Conference</button>
            <a href="##" wire:click.prevent="addYear( '2022' )" type="button" class="btn btn-primary me-2">Add Year</button>
            <a href="##" wire:click.prevent="resetConference" class="btn btn-secondary">Reset</a>
        </div>
    </div>
</cfoutput>
bdw429s commented 1 year ago

This issue has been mentioned on Ortus Solutions Community. There might be relevant details there:

https://community.ortussolutions.com/t/some-impressions-from-my-first-time-using-cbwire/9773/3