{"id":23377976,"url":"https://github.com/beyondjs/widgets","last_synced_at":"2025-04-10T19:51:12.171Z","repository":{"id":156892177,"uuid":"538584949","full_name":"beyondjs/widgets","owner":"beyondjs","description":"A powerful package designed to streamline the creation and management of reusable UI components in Beyond.js applications. It provides a flexible framework for building dynamic, modular widgets that can be easily integrated into any project.","archived":false,"fork":false,"pushed_at":"2025-03-27T20:41:54.000Z","size":352,"stargazers_count":3,"open_issues_count":3,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-27T20:46:32.774Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/beyondjs.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-09-19T16:05:41.000Z","updated_at":"2025-03-27T20:41:59.000Z","dependencies_parsed_at":"2024-02-08T06:28:51.091Z","dependency_job_id":"c5829236-31ce-4ee6-b926-3d12a00cbd71","html_url":"https://github.com/beyondjs/widgets","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beyondjs%2Fwidgets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beyondjs%2Fwidgets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beyondjs%2Fwidgets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beyondjs%2Fwidgets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/beyondjs","download_url":"https://codeload.github.com/beyondjs/widgets/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248283404,"owners_count":21077835,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-21T18:33:39.991Z","updated_at":"2025-04-10T19:51:12.150Z","avatar_url":"https://github.com/beyondjs.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BeyondJS Widgets\n\n## Introduction\n\nBeyond-JS Widgets is a versatile web-components framework designed for developers to create a range of web solutions\nfrom simple widgets to comprehensive applications. It seamlessly integrates with popular frameworks like React, Vue, and\nSvelte and supports various rendering methods like Server-Side, Static, and Client-Side Rendering. This flexibility\nenhances performance and user experience.\n\n## Features\n\n### Versatility and Integration\n\n-   **Pages and Layouts:** Widgets can represent entire pages or layouts, simplifying complex web application\n    construction.\n-   **Elements in Existing Applications:** Easily integrate widgets as individual elements in existing applications.\n\n### Modular and Universal Development\n\n-   **Modular Design:** Each widget is a distinct module, improving code management and efficiency.\n-   **Universal Application:** Widgets function seamlessly on both client and server sides.\n\n### Framework Integration\n\n-   **CSS Encapsulation:** Styles are isolated within each web component, preventing conflicts and ensuring stable\n    styling.\n-   **Reusability:** Widgets are reusable across different parts of an application, easing maintenance and updates.\n\n## Widget System\n\n### Modular Design\n\nWidgets are automatically loaded when their corresponding web elements are inserted into the DOM. This lazy loading\nensures optimal performance and resource use.\n\n### Controller's Role\n\n-   **Controller:** A critical component within each JS+CSS module, coordinating the rendering of the widget into HTML.\n-   **Rendering Modes:** Widgets detect the necessary rendering mode upon DOM insertion, enhancing rendering efficiency.\n\n### Integration with View Frameworks\n\nWidgets are compatible with various JavaScript frameworks, enabling them to serve multiple roles, such as pages or\nlayouts, through simple settings.\n\n## Rendering and Hydration\n\nWidgets support hybrid rendering techniques and facilitate the hydration process, smoothly transitioning from\nserver-rendered content to dynamic client-side updates.\n\n### Rendering Options\n\n-   **Server-Side Rendering (SSR):** Dynamically generates HTML on the server, improving load times.\n-   **Static Rendering (SR):** Pre-resolves and compiles HTML content, optimizing mobile performance.\n-   **Client-Side Rendering (CSR):** Renders content on the client side, suitable for dynamic applications.\n\n### Web Composition Suite (WCS)\n\n-   **Single-Page Applications:** WCS enhances user experience in SPAs by managing routing, layout, and transitions.\n-   **Layout Containers:** The `beyond-layout-children` web component manages layouts and dynamic content, supporting a\n    hierarchical application structure.\n\n## Documentation\n\nFor more information, read the [BeyondJS widgets documentation](https://beyondjs.com/docs/widgets).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeyondjs%2Fwidgets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbeyondjs%2Fwidgets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeyondjs%2Fwidgets/lists"}