You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
minor #2201 [TwigComponent] Optimize ComponentFactory (smnandre)
This PR was squashed before being merged into the 2.x branch.
Discussion
----------
[TwigComponent] Optimize ComponentFactory
| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | no
| Issues | Fix #...
| License | MIT
Some internal refactor focused on the Component Factory / Anonymous components usage.
* Optimize the hot path
* Store anonymous template resolution
* Avoid anonymous checks for class-based components
* Add ComponentFactory unit tests
* Add ComponentMetadata::isAnonymous() method
* Fix loop
* Reuse metadata to instanciate and mount component
Other PRs will follow :)
Commits
-------
da0537d [TwigComponent] Optimize ComponentFactory
0 commit comments