Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Zoneless angular application #1

Open
yshashi opened this issue Dec 14, 2024 · 0 comments
Open

Add support for Zoneless angular application #1

yshashi opened this issue Dec 14, 2024 · 0 comments

Comments

@yshashi
Copy link

yshashi commented Dec 14, 2024

Add Support for Zoneless Angular Applications

Description

Currently, this project depends on Angular's NgZone for change detection and various other functionalities. However, with the growing adoption of zoneless Angular applications (using libraries like @angular/platform-browser with bootstrapApplication or leveraging frameworks like Qwik), it is becoming increasingly important to provide support for applications that do not rely on Zone.js.

Why is this important?

  • Performance: Zoneless applications remove the overhead of Zone.js patching, leading to faster application performance, especially for large-scale projects.
  • Flexibility: Developers have more control over change detection mechanisms.
  • Adoption: Many modern Angular projects are transitioning to a zoneless architecture for its benefits, and adding support will ensure this library remains relevant.

Expected Behavior

  • The library should work seamlessly in a zoneless Angular application.
  • Provide documentation for using the library without Zone.js.
  • Ensure compatibility with manual or signal-based change detection strategies.

Possible Implementation

  • Replace or refactor areas of the codebase that rely on NgZone.
  • Utilize Angular's signal or computed for reactive state management where applicable.
  • Expose APIs or options to allow users to configure how the library integrates with Angular's change detection.
  • Add tests to validate the behavior in zoneless environments.

References

Additional Notes

  • This change should be backward-compatible, ensuring no breaking changes for projects still using Zone.js.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant