GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Transition to Angular Standalone Components in Favor of Angular Modules · Issue #378 · angular-split/angular-split

Transition to Angular Standalone Components in Favor of Angular Modules #378

New issue
Copy link
New issue
Copy link
Closed
#444
Closed
Transition to Angular Standalone Components in Favor of Angular Modules#378
#444
Copy link
Labels
area: coreRelates to the library projectRelates to the library projectbreaking changesenhancement

Description

@Jefiozie
Jefiozie
opened on Jan 21, 2024
Issue body actions

To align with modern Angular development practices, we propose migrating our project to use Angular Standalone Components. This transition aims to simplify our application architecture, improve modularity, and enhance developer experience.

Activity

  1. Jefiozie
    added
    enhancement
    breaking changes
    area: coreRelates to the library projectRelates to the library project
    on Jan 21, 2024
  2. Harpush commented on Jan 21, 2024

    @Harpush
    Harpush
    on Jan 21, 2024
    Collaborator
    More actions

    As a non breaking change first phase - we can transition to standalone but remain with an exported module importing and re-exporting the standalone components/directives.

    One other concern is we currently have multiple directives and components that are needed for the split to function. How will end users import those in a "bundle"? If I remember correctly exporting a const array still doesn't work from libraries.

  3. Jefiozie commented on Jan 23, 2024

    @Jefiozie
    Jefiozie
    on Jan 23, 2024
    ContributorAuthor
    More actions

    I agree on the fact that we can easily do both for the current version. And when we bump to a major version remove the module.

    About the question, yes there is a problem with the import of standalone CMP /directives with an array. But there is also a workaround, we can use the spread operator to still import them. There is an ongoing issue that will fix the array without a spread operator.

  4. Harpush commented on Apr 29, 2024

    @Harpush
    Harpush
    on Apr 29, 2024
    Collaborator
    More actions

    Just adding that we should introduce provideAngularSplit or provideAngularSplitOptions to allow using ANGULAR_SPLIT_DEFAULT_OPTIONS easier.

  5. Jefiozie
    closed this as completedin #444on Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: coreRelates to the library projectRelates to the library projectbreaking changesenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402520 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.