Skip to content
This repository has been archived by the owner on Mar 12, 2024. It is now read-only.

[Test Angular Application] Unit Testing #41

Open
reboottime opened this issue Dec 11, 2023 · 1 comment
Open

[Test Angular Application] Unit Testing #41

reboottime opened this issue Dec 11, 2023 · 1 comment

Comments

@reboottime
Copy link
Owner

reboottime commented Dec 11, 2023

Overview

This article talks about Unit testing in Angular applications.

References

  1. Getting Started with Standalone Components in Angular
@reboottime
Copy link
Owner Author

reboottime commented Dec 11, 2023

Testing Angular components

Angular applications are modularized through the use of ngModule. By utilizing standalone Angular components, an Angular application can transition to a component-based structure, similar to a React application.

Component Kinds in Angular

  • Standalone component: In Angular, a standalone component refers to a self-contained and reusable unit of code that encapsulates logic, data, and UI elements. Unlike regular components, standalone components are not dependent on Angular's NgModule system for their configuration and dependencies. Which brings benefits:
    • Frictionless component creation
    • simplified learning journey
    • Lazy loading for made easy
  • Regular component

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant