martinandert/react-translate-component — pull request #3 by tobitos (2014-08-29 09:00:20+00:00)
Title: Check for updated translate key on every render call

Currently, if the key of an already mounted translate-component gets changed in-between render calls, the translate component sticks to the old translation key, because "this.key" has already been set. This change allows for updating translation keys of already mounted translate components.

(This change is passing all the tests. Please tell me if you want me to write a new test for this.)