building-react-from-scratch icon indicating copy to clipboard operation
building-react-from-scratch copied to clipboard

Code for my React Rally talk.

Results 4 building-react-from-scratch issues
Sort by recently updated
recently updated
newest added

hey! trying to run this and getting this error: ```bash ERROR in ../dilithium/dilithium.js Module build failed: ReferenceError: Unknown plugin "transform-react-jsx" specified in "base" at 0, attempted to resolve relative to...

``` ERROR in ../dilithium/index.js Module build failed: ReferenceError: Unknown plugin "transform-class-properties" specified in "/Users/qinhao/git_clone/learn-react-source-code/dilithium/package.json" at 0, attempted to resolve relative to "/Users/qinhao/git_clone/learn-react-source-code/dilithium" at /Users/qinhao/git_clone/learn-react-source-code/demo/node_modules/babel-core/lib/transformation/file/options/option-manager.js:180:17 at Array.map () at Function.normalisePlugins (/Users/qinhao/git_clone/learn-react-source-code/demo/node_modules/babel-core/lib/transformation/file/options/option-manager.js:158:20)...

in MultiChild.js file `case UPDATE_TYPES.MOVE: DOM.insertChildAfter( parentNode, parentNode.childNodes[fromIndex], update.afterNode, ); break; ` move method depends on 'fromIndex' (which is previous componet's _mountindex),which should be changed once some component insert before...