Hacker News new | ask | show | jobs
by swanson 1909 days ago
I think the article would be better if you were to include even a basic template instead of just adding the <strong> tag. Right now, my first impression would be "why not just wrap the content in <strong> in JS instead of making a network request on every keystroke?"

The benefit of being able to reuse the server template logic isn't being demonstrate because of the simplicity of the example.

1 comments

I was thinking of that, but I think the point is that you do any transformation in Ruby. I focused on how to do that. Thanks for the feedback.