"Whoa" is the first thing that comes to mind when I see pipes used to create the DOM in Angular, never thought about taking that approach at all haha! Idk how efficient it is to take this approach, or if there are massive pitfalls to this approach either.
Have you looked into how this approach compares to the more traditional approach of using a directive (specifically a structural directive) to modify the DOM?
No, not at all, was just trying to experiment. Will have a deeper look into this, but what I do think is that pipes might give a lot of syntactic freedom and abstraction. Imagine using this approach to create some sort of pipe-elements
{{'a'|PipeElement:{href:'http://dev.to'}}}
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
"Whoa" is the first thing that comes to mind when I see pipes used to create the DOM in Angular, never thought about taking that approach at all haha! Idk how efficient it is to take this approach, or if there are massive pitfalls to this approach either.
Have you looked into how this approach compares to the more traditional approach of using a directive (specifically a structural directive) to modify the DOM?
No, not at all, was just trying to experiment. Will have a deeper look into this, but what I do think is that pipes might give a lot of syntactic freedom and abstraction. Imagine using this approach to create some sort of pipe-elements