tags-api-preview
tags-api-preview copied to clipboard
Tag api preview doesn't go into component mode
Marko Version: 5.20.5
Marko Tag API Version: 0.5.0
Details
This tag doesn't ship interactive code to the client.
Expected Behavior
The tag ships as an interactive component and OnClick sends logs on the browser
Actual Behavior
the button isn't interactive, OnClick isn't sent
Possible Fix
Fixed by adding empty <effect{}/>

Your Environment
windows 11. npm: 8.9.0 node: 14.15.3 brave browser simulating mobile device
Steps to Reproduce
create the following tag:
<tag/test|{ }|> <button onClick(){console.log('hi')}> test </button> </tag>
and use it:
<test/>