From 2807566f989c97cdd6cd8325e56c1b5ff22b28a7 Mon Sep 17 00:00:00 2001 From: Konstantin Aleksandrov Date: Mon, 10 Jul 2017 16:07:21 +0700 Subject: [PATCH] Fix a typo --- docs/recipes/UsingImmutableJS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/recipes/UsingImmutableJS.md b/docs/recipes/UsingImmutableJS.md index 174c0d7b15..69705741e8 100644 --- a/docs/recipes/UsingImmutableJS.md +++ b/docs/recipes/UsingImmutableJS.md @@ -243,7 +243,7 @@ Smart components that access the store via React Redux’s `connect` function mu ### Never use `toJS()` in `mapStateToProps` -Converting an Immutable.JS object to a JavaScript object using `toJS()` will return a new object every time. If you do this in `mapSateToProps`, you will cause the component to believe that the object has changed every time the state tree changes, and so trigger an unnecessary re-render. +Converting an Immutable.JS object to a JavaScript object using `toJS()` will return a new object every time. If you do this in `mapStateToProps`, you will cause the component to believe that the object has changed every time the state tree changes, and so trigger an unnecessary re-render. #### Further Information