Interactive Posts với Hotwire

Quay lại bài học

Interactive Posts với Hotwire

Lập trình

Tạo UI tương tác với Turbo và Stimulus

Tạo: 1. Turbo Frame search cho posts 2. Inline edit form 3. Real-time comments với Turbo Streams 4. Stimulus controller cho like button

Code mẫu
# app/views/posts/index.html.erb
<h1>Posts</h1>
# Viết views ở đây