David Kimura PRO
Joined 7/18/2015
Drifting Ruby Owner
David Kimura PRO said about 6 years ago on Crud, filter, pagination and add skeleton loading like FB, youtube, dev.to with react and rails 6 :
I find that Stimulus is great. It's small and very powerful. It's also built by Basecamp, so it follows a lot of the Rails styles and philosophies. .

David Kimura PRO said about 6 years ago on Real Time Updates with ActionCable :
  Yea, from nearly every article I've read, this is one of the most common "overlooked" things. StimulusJS may be overkill for this kind of functionality, but it make it so easy to create "situational" websocket subscriptions based on which page you're on by simply adding in the controller name. Disconnecting from a subscription also seems to be a very overlooked topic.

David Kimura PRO said about 6 years ago on Real Time Updates with ActionCable :
  it's using Rails 6. however, you should be able to do the same in Rails 5 with little to no changes. Some of the folder structuring may be different if you've not moved the javascript assets out of sprokets. However, the concepts are the same.

David Kimura PRO said about 6 years ago on Some Advanced Charts and Statistics :
  There is this episode which covers chartkick. https://www.driftingruby.com/episodes/charts-and-graphs To use it with Rails 6 or Webpacker

yarn add chartkick chart.js

And in app/javascript/packs/application.js, add:

require("chartkick")
require("chart.js")