View Components allow you to create reusable, unit testable components that you can preview in the browser.
Checkout my courses at https://learn.deanin.com
http://localhost:3000/rails/view_components
https://viewcomponent.org/guide/getting-started.html
https://github.com/github/view_component
https://github.com/jonspalmer/view_component_storybook
https://storybook.js.org/
Join this channel to help support these videos:
https://www.youtube.com/channel/UCRQv-3VvPT9mArF5RfrlpKQ/join
Follow me on social media:
https://linktr.ee/deanin
Join this channel to get access to perks:
https://www.youtube.com/channel/UCRQv-3VvPT9mArF5RfrlpKQ/join
If you liked this video, please consider subscribing: https://t.co/RZ4EwP0F2a
Timestamps
0:00 View Component Demo
2:00 Installing View Components
2:40 Creating The Header Component
9:19 Testing The Header Component
15:36 Creating The Post Component
21:32 Testing The Post Component
26:10 Preview View Components In Browser
#Deanin #Software #Programming