Skip to content

v0.3.0

Pre-release
Pre-release

Choose a tag to compare

@pardnchiu pardnchiu released this 04 Nov 16:16

Fixes

  • Fixed an issue with the REPLACE action causing errors during child node rendering.
  • Resolved a problem where properties inside loops could not correctly access global data.

Adjustments

  • Extracted lifecycle management functionality into a dedicated Lifecycle module.
  • Consolidated all state monitoring features into lifecycle for easier management. Example of the new state monitoring:
    const app = new QUI({
        id: "app",
        lifecycle: {
            before_render: _ => {
                console.log("Preparing to render");
            },
            rendered: _ => {
                console.log("Rendered");
            },
            before_update: _ => {
                console.log("Preparing to update");
            },
            updated: _ => {
                console.log("Updated");
            },
            before_destroy: _ => {
                console.log("Preparing to destroy");
            },
            destroyed: _ => {
                console.log("Destroyed");
            }
        }
    });

Updates

  • Introduced new state monitoring methods before_destroy and destroyed to track application state changes before and after destruction.

Deprecated Features

  • For more details, see here.