Repository navigation
React 15.2 and @typings
Unknown Prop Warning
React 15.2 is preparing to stop filtering HTML properties - the feature that i18n relied upon for preventing interpolation variables from leaking into the DOM.
Thus new syntax for passing variables is introduced:
<T.span text={{ key: "greeting", myName: "i18n-react" }}/>
/* replaces */
<T.span text="greeting" myName="i18n-react"/>All tags passing to T.* anything beside text, tag and context properties have to be updated or React 15.2 will cry annoyingly.
typescript 2.0 / ts@next typings
Updated package.json contains all the info for the new typescript to get typings automatically.