-
-
Save RusAlex/b6b33eb5f2e32fc6a31d to your computer and use it in GitHub Desktop.
Revisions
-
RusAlex revised this gist
Jan 27, 2016 . 1 changed file with 15 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -32,4 +32,18 @@ import { Link } from 'react-router' # 3 Performance problems might be caused by 'redux-logger' and 'redux-devtools' packages. Remove them from production build! # 4 This error: ``` Uncaught TypeError: Cannot read property 'displayName' of undefined at Array.forEach (native) ``` When you try to render an array of items with map callback: ``` {items.map(renderItem)} ``` You have to wrap the rendered result into `<div></div>` tag. -
jmarceli revised this gist
Oct 10, 2015 . 1 changed file with 6 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -27,4 +27,9 @@ import { Link } from 'redux-router' instead of ``` import { Link } from 'react-router' ``` # 3 Performance problems might be caused by 'redux-logger' and 'redux-devtools' packages. Remove them from production build! -
jmarceli revised this gist
Oct 6, 2015 . 1 changed file with 15 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,4 @@ # 1 You will get one of these: ``` Uncaught (in promise) TypeError: Cannot read property 'toUpperCase' of undefined(…) @@ -12,4 +13,18 @@ import { ComponentName } from 'ComponentName.jsx' instead of: ``` import ComponentName from 'ComponentName.jsx' ``` # 2 This error: ``` Uncaught TypeError: Cannot read property 'toUpperCase' of undefined ``` might be caused by importing: ``` import { Link } from 'redux-router' ``` instead of ``` import { Link } from 'react-router' ``` -
jmarceli revised this gist
Sep 30, 2015 . No changes.There are no files selected for viewing
-
jmarceli created this gist
Sep 30, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,15 @@ You will get one of these: ``` Uncaught (in promise) TypeError: Cannot read property 'toUpperCase' of undefined(…) ReactCompositeComponent.js:870 Uncaught TypeError: Cannot read property 'displayName' of undefined ``` if you try to: ``` import { ComponentName } from 'ComponentName.jsx' ``` instead of: ``` import ComponentName from 'ComponentName.jsx' ```