React on Rails Updates and Picks - Happiness and Stoicism

Big Beach, Maui, August 7, 2017


I’ve been planning on sending a newsletter for some time. My intent is to stay connected and share what I have of value.

React on Rails

I've almost completed moving React on Rails away from having Webpack compiled assets passed through the asset pipeline over to these compiled assets getting deployed directly, via an integration with rails/webpacker. I’m working on this daily. Please check out PR 908.

If you're on React on Rails v8, you'll want to update to v8.0.6 which fixed a problem where server rendering would look for the server bundle file on a CDN if the asset_host is set. Be sure to update the gem webpacker_lite to 2.1.0 as well.

Bootstrap Loader

After 2 years of being in "alpha", Twitter Bootstrap v4 has finally gone beta! Read the blog post here. ShakaCode's popular Webpack loader for bootstrap, shakacode/bootstrap-loader, has upgraded to support the Bootstrap v4 beta release.


I really like this two-minute video where Google executive, Mo Gawdat, who lost his son, explains happiness. From the video:

“Happiness is not about what the world gives you... Happiness is what you think about what the world gives you.”

Ever since learning a bit about Buddhism over 25 years ago, I have believed that happiness is the difference between expectations and reality. If I go to the beach expecting great surfing because of the forecast, then I’m easily disappointed if the experience does not live up to my expectations. On the other hand, if I have modest expectations, I can be quite happy from catching just a few good waves.

Little did I know, but this is all part of stoic philosophy.


I’ve known for some time that David “DHH” Heinemeier Hansson is a follower of stoicism. You can read about DHH's interest in stoicism in this recent article: David “DHH” Heinemeier Hansson: The Entrepreneurial and Unstoppable Stoic.

However, I never explored stoic philosophy until I heard the Ryan Holiday interview by Kevin Rose, which prompted me to listen to Ryan's book The Obstacle is the Way”. I like this book so much that I’ve already listened to it at least four times. This 7-minute video sums it up nicely

Startup Books

If I could follow the advice of only one startup book, I would pick Intercom on Starting Up. The book directly reflects the thought and quality of the Intercom product. I especially valued the explanation of the product planning process.


In the next issue, I'll be sharing more details on the migration of React on Rails to be based on the official rails/webpacker gem.

Please reply if my team and I can help your company in any way with mobile or web apps, We specialize in React and React-Native applications, with or without Rails.

Thank you,
Justin Gordon CEO and Founder
ShakaCode  |  Friends and Guests

Forwarded this message? Sign Up.