Skip to content

Conversation

@ekkolon
Copy link
Owner

@ekkolon ekkolon commented Feb 1, 2023

Closes #4

📑 Description

This PR removes dompurify as dependency, which was unneccessary and negatively impacted the size of the build output.

Additionally, initialization code for the iframe within the ngx-gist component now runs outside the Angular zone, thus escaping Angular's change detection and improving page load performance.

✅ Checks

  • My pull request adheres to the code style of this project
  • My code requires changes to the documentation
  • I have updated the documentation as required
  • All the tests have passed

ℹ Additional Information

None

@ekkolon ekkolon self-assigned this Feb 1, 2023
@ekkolon ekkolon added the performance Performance improvements label Feb 1, 2023
@ekkolon ekkolon merged commit 4e499d6 into main Feb 1, 2023
@ekkolon ekkolon deleted the improve-lib-performance branch February 1, 2023 21:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

performance Performance improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove unneccessary dompurify dependency

1 participant