view component gem

preview_player
Показать описание
my products:

work with me:
Рекомендации по теме
Комментарии
Автор

This is exactly what I wanted to see!
Implementation of common tasks at a professional level.
I think many will find this interesting.
Thanks again, Chris!

ledockol
Автор

Hi Chris cool content.
I'd love to see a detailed video about your dev environment, tools, shortcuts, plugins etc you use on the daily bases.
Especially about those that save a lot of time.
Some inspiration:
- Switching between prod and test files
- Running the test example where your cursor sits (an RSpec it block, not the whole file)
- Generating boilerplate code
- Test for existing code
- Migration. Opening them.
- Code snippet
- Auto completion
- Command line aliases
- Your .dotfiles

tomaaa
Автор

Great vid man, that was really helpful

kirk
Автор

What would be the difference between using this view components vs regular erb partials?

mirrorinfinite
Автор

Hi, i know by this video 3:20 that you dont like much split front and backend in different technologies, but i would like to know which is your point of view on rails api development, those tools to serialize and template engines.

I have seen that there is the default rails-api, but there is also JSON-API (with standard json response format), fast JSON-API, jbuilder (commonly used template), and grape (have seen gitlab using it, but not sure if they build new features with it). There might be some others, and there should be pros and cons of each.

Because there are some companies using react.js + rails

Thanks for your content, its always very informative and entertaining

luke-giorgio-dev