this repo contains information about me - xkawi.github.io
xkawi / react-auto-header-list Goto Github PK
View Code? Open in Web Editor NEWReact List with Section Header
Home Page: http://kawi.me/react-auto-header-list/
License: ISC License
React List with Section Header
Home Page: http://kawi.me/react-auto-header-list/
License: ISC License
this repo contains information about me - xkawi.github.io
TypeError: Cannot read property 'func' of undefined
./node_modules/react-auto-header-list/lib/ReactAutoHeaderList.js
D:/workspace/flamingo-rtc/node_modules/react-auto-header-list/lib/ReactAutoHeaderList.js:208
205 | })(_react.Component);
206 |
207 | ReactAutoHeaderList.propTypes = {
> 208 | getSectionHeaderTitle: _react.PropTypes.func.isRequired,
209 | isFetching: _react.PropTypes.bool.isRequired,
210 | items: _react.PropTypes.array.isRequired,
211 | loadingLabel: _react.PropTypes.string,
[react-auto-header-list]$ npm start
> [email protected] start /Users/rheda/temp/react-auto-header-list
> gulp dev
/Users/rheda/temp/react-auto-header-list/node_modules/require-dir/index.js:93
if (!require.extensions.hasOwnProperty(ext)) {
^
TypeError: require.extensions.hasOwnProperty is not a function
at requireDir (/Users/rheda/temp/react-auto-header-list/node_modules/require-dir/index.js:93:37)
at Object.<anonymous> (/Users/rheda/temp/react-auto-header-list/node_modules/gulp-git/index.js:4:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/Users/rheda/temp/react-auto-header-list/node_modules/react-component-gulp-tasks/tasks/release.js:1:73)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: `gulp dev`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Bootstrap used the class name "row" for the basis of it's grid. The "row" class has styles that work with Bootstrap "cols". Each have margins and negative margins that cancel each other out. As such, a "row" should never be a direct descendant of "row", however this occurs in react-auto-header-list, which causes very strange css effects.
I'd recommend a relative naming scheme for your classes, ex: change "row" to "rahl-row". Bad example ("rahl" sounds weird) but you get the idea.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.