Skip to content

Introduce Icon object #7

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

Closed
wants to merge 2 commits into from

Conversation

smnandre
Copy link

@smnandre smnandre commented Feb 3, 2024

This really light object allow us to not expose an array (ex: RegistryInterface), have a immutable object, and allow us some interesting manipulation (toHtml, withAttributes, ..) while keeping high performances.

(open to debate)

(i did not implement defered for now, will depend on your opinion on this object, and on future discussions on defer)

This really light object allow us to not expose an array (ex: RegistryInterface), have a immutable object, and allow us some interesting manipulation (toHtml, withAttributes, ..) while keeping high performances.
@smnandre
Copy link
Author

smnandre commented Feb 3, 2024

(forgot to register Icon as safe class in Escaper extension)

@kbond
Copy link
Owner

kbond commented Feb 3, 2024

Let's roll with this. Can you rebase to current branch and incorporate #6?

@smnandre
Copy link
Author

smnandre commented Feb 3, 2024

This i did something equivalent : #9

@smnandre smnandre closed this Feb 3, 2024
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

Successfully merging this pull request may close these issues.

2 participants