Moos
Moos
Agree - would be useful to have natively. I needed to just reset attributes without mangling the 'id' attribute, as clear() was doing. Here's the [gist of it](https://gist.github.com/moos/34645e0468578c416469).
https://github.com/DockStation/dockstation fits the bill.
Yup - definitely still an issue. It's not an electron issue -- the code referenced above ends up in CRA bundle that's consumed by the _browser_, thereby exposing the **entirety**...
holy 🐟 -- let's hope I don't have to do that again!
Ping! Would hate to see this become stale again.
IMHO this should only be an extension or plugin (same with `htm`). Hopefully the core can be kept minimal and pristine.
My quick fix was to replace line 5 in tmpl/navigation.tmpl with ``` ``` I'm sure there is a better way to solve it though.
Glad you like the idea. Just got around to implementing a first pass -- comments welcome.
If you implement this, probably don't want to execute the function in 'context' context, as I have it above, but rather as `result = ctx()`, I would think.