docs and site of react-component
react-component / react-component.github.io Goto Github PK
View Code? Open in Web Editor NEWdocs and site of react-component
Home Page: http://react-component.github.io
docs and site of react-component
Home Page: http://react-component.github.io
docs and site of react-component
https://github.com/search?q=org%3Areact-component+object-assign&type=Code
since rc-tools
and antd-tools
both use babel-plugin-transform-object-assign
, no need to use a third-party module.
cc @react-component/admin
This rc-tools break change will cause rc-component won't build umd dist file.
react-component/rc-tools@4956bd4
cc @react-component/admin
删除 node_modules,重新 npm install,运行 npm run lint, warning 可以通过在文件头部加入:
/* eslint react/no-multi-comp:0 */
�如 TreeSelect
组件,需要在点击组件
的时候,再做加载数据或其他动作。但现在这类组件不支持正常的 onClick
、onMouseEnter
等事件。 涉及到 Select
、Dropdown
等
@react-component/admin
util : react-component/util@7949fe3
m-picker
m-cascader
select: react-component/select@8eee564
upload
tree-select
tree
rc-pagination
rc-checkbox
rc-hammerjs
rc-input-number
rc-notification
rc-touchable
rc-progress
rc-dialog
rmc-date-picker
rmc-list-view
The Tables/Examples page from the rc-table
docs is unresponsive.
Chrome console log:
(index):20 GET http://react-component.github.io/table/examples/runtime~main.411d3c3c7829aaabb366.bundle.js net::ERR_ABORTED 404 (Not Found)
(index):20 GET http://react-component.github.io/table/examples/runtime~main.411d3c3c7829aaabb366.bundle.js net::ERR_ABORTED 404 (Not Found)
(index):20 GET http://react-component.github.io/table/examples/runtime~main.411d3c3c7829aaabb366.bundle.js net::ERR_ABORTED 404 (Not Found)
Url in question: http://react-component.github.io/table/examples/
@sliuqin for refer
<Tip event='onmouse' content={<a>xss</a>}>
<a>xxx</a>
</Tip>
按照react思维,所有的元素都是虚拟dom树,一般考虑一个组件,首先会把组件分为不同层级的组件。
遇到一个问题,如果我需要开发一个组件,但是组件的一个子元素是需要可配置。比如
<MyComponent>
<p class="preview">hello world</p>
</MyComponent>
上面MyComponent是我开发的,但是中间那个p是用户自定义的一段html代码。这中间的代码如果传递到我定义的react class中?难道只能用dangerouslySetInnerHTML
。
我觉得理想的方式,直接
React.render(<MyComponent><p>...</p></MyComponent>, el);
我希望p直接追加在MyComponent后面,不过实际中,我发现MyComponent渲染出来是没有p那么一段的。
简单demo可以看这个例子http://jsfiddle.net/69z2wepo/3678/ 。
react at alipay
react at alibaba data department
jest
ref: react-component/tree-select#62
踩了个坑,nodejs 读目录会优先尝试 pkg.main, 失败才会 fallback 到 index.js
https://github.com/nodejs/node/blob/master/lib/module.js#L115
所以用例里面 import TreeSelect from '..';
会优先引用到 lib。
cc @react-component/admin
dora
atool-build
ES6 是未来,mixin只是一个特殊时期的临时解决方案,mixin有很多设计上的问题。为什么在代码规范中强调,必须用React.createClass呢?
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.