Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Go 1.18 and custom elements (#739) * rename html generated files * bump required go version to 1.18 * update dependencies * rename attributes() to getAttributes() * rename Mounted() to IsMounted() * bump go version in ci * rename dispatcher() to getDispatcher() * rename children() to getChildren * rename context() to getContext * rename parent() to getParent() * Create html.go * createElement now also takes namespace * html element mount * move html attribute logic * change replace logi * add js value delete and equal * html element update * attributes unit tests * html element implementation complete * event handler unit tests * fix wasm test * fix unit tests * fix test 2 * Update state_test.go * benchmark element * generate html * Revert "generate html" This reverts commit bcb4414. * rename element.selfClosing * rename element.parentElem * rename elem.disp * rename elem.jsvalue * use attributes in element * elem uses eventHandlers * change getAttributes and getEventHandlers return values * refactor elem mount/dismount * refactor element update * refactor element remove child at * cleanup element * move element.go to html.go * add on method to html elements * fix gen typo * replace interface{} by any * update deps * customizable element contructor and test * bump go version doc to 1.18 * cleanup * cleanup * optimize html convert * rename customizable by elem * Revert "rename customizable by elem" This reverts commit 613e0b8. * Revert "Revert "rename customizable by elem"" This reverts commit da43f0d. * Revert "optimize html convert" This reverts commit 77cb2b3. * Revert "Revert "optimize html convert"" This reverts commit ec0bfc4. * better html write optimization * rename SelfClosingElem to ElemSelfClosing * generate docs * Update attribute.go * Update app.wasm * revert Mounted name change * generate doc * fix format typo * Update attribute.go * optimize filter ui (#736) * cleanup * cleanup code * Update html.go * Update component.go * Fix for attr names "accept-charset" and "http-equiv" (#748) * Fixing invalid double set charset meta headers (#750) * Refactor component events (#751) * add onLifecyleEvent to UI interface * refactor app update * refactor app install change * refactor resize * refactor nav * rename onLifecycleEvent to onComponentEvent * Refactor engine (#752) * enginex dispatcher implementation * fix tests * engineX client/server dispatcher * enginex cleanup * frame backoff * init and start once * use engine x * rename enginex to engine + unit tests * try preventComponentUpdate * Update component.go * add remove component update * Revert "add remove component update" This reverts commit 185f470. * context prevent update * allow prevent update override * limit frame backoff * Wasm download progress (#754) * display download progress * inititalize progress * Update shell.go * Revert "Update shell.go" This reverts commit 99625f5. * Update component.go * fix unit test * Update component.go * V9.6 fixes (#755) * call on component update after root update * no emit when handling js event * test ordering updates * reverse update order * avoid updating multiple time a component * no panic when mounting mounted element * remove ordering * simplify * restore mount guard * Update component.go * Update engine.go * Update engine.go * Update component.go * Update component.go * try fix * Update engine.go * try update optimization * optimize update * use emit back in js event * cleanlup * Improve loader (#756) * Customize loading label * Allow to custom http header to guess wasm size * Update http.go * fix loading header * update loading * Customizable service worker (#757) * export appworkerjs template * allow http handler to change app worker template * fix wasm tests * Update static-resources.md Co-authored-by: Hans Raaf <[email protected]>
- Loading branch information