learnyoureact
learnyoureact copied to clipboard
Let's learn React.js and server side rendering!
https://github.com/kohei-takata/learnyoureact/blob/master/exercises/state/solution/views/index.jsx#L45 When `handleChange` is invoked after selecting checkbox, `this` is undefined and so `this.setState` throws error 'cannot call setState on undefined'. However when I bind `this` to `handleChange` in the...
Hello, Loading bundle.js is too slow. How can we fix it? Thanks!
I don't recommend much this solution which is to switch inline-style 'text-decoration' on tag. Some browsers didn't work well it before. 'text-decoration' should be used into td, li or p...
The 2nd lesson, on components, teaches both JSX and components at the same time. Some people may have difficulty understanding, or may think that they are the same thing. It...
Now, we should open browser by hand and check by eyes whether the sources is correct when verifing. After that, we run `verify` command. In this issue, change to use...
I keep getting this error when I try to run the 1st lesson. Here is the full error: `Error: Cannot find module 'regenerator/runtime' at Function.Module._resolveFilename (module.js:336:15) at Function.Module._load (module.js:278:25) at...