Menu

1 / 4

Not everything in an Angular library is a component: what's new in ng-prism 22.7

DEV Community: webdev·Alex·10 days ago
#VLfQKdHv
#devtowebdev#devto#dev#prism#component
Reading 0:00
15s threshold

Not everything in a library is a component: what's new in ng-prism 22.7

ng-prism 22.7 is out. If you haven't come across it yet: ng-prism is a component lab for Angular libraries, a Storybook alternative without story files. You put a @Showcase decorator on a component, the TypeScript compiler picks up inputs, outputs and types at build time, and the components render in the same document as the styleguide, without an iframe. The full tour has the details.

Voice: elevenlabs.io

This release got bigger than I planned. Most of it is about the parts of a library that aren't a single component: services, pipes, components that only work together with others, and components that only exist inside another one. Besides that the styleguide works on a phone now, it has a new look, accessibility violations can be accepted with a reason, and the perf plugin measures what you actually ship.

Services and pipes get their own pages

A real library usually has more than components.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.