My Grocery Book

Simple Reactjs AutoComplete using Typehead’s Bloodhound

I wanted to add autocomplete to the shopping list, hopefully making it easier to build them. Using Reactjs made it very difficult to use out of the box autocompletes like typeahead and jquery ui autocomplete┬ábecause Reactjs uses a virtual dom. Another requirement I wanted was to display the suggestions above the input making it a… Continue reading Simple Reactjs AutoComplete using Typehead’s Bloodhound

My Grocery Book

Writing jasmine test for reactjs components on Ruby on Rails

Now that I have manage to write a few components using reactjs/rails and I feel I understand the basics of reactjs, I wanted to be able to write tests for my components. I looked into using jasmine-rails for testing my components. Installing it was as simple as following the Gems README. You will need PhantomJS… Continue reading Writing jasmine test for reactjs components on Ruby on Rails