Skip to content

Instantly share code, notes, and snippets.

@xgqfrms-GitHub
Forked from xyzdata/React Event.md
Created June 30, 2017 14:28
Show Gist options
  • Save xgqfrms-GitHub/e59f6eca03da7c1960013cc94e04e84f to your computer and use it in GitHub Desktop.
Save xgqfrms-GitHub/e59f6eca03da7c1960013cc94e04e84f to your computer and use it in GitHub Desktop.
React Event
@xgqfrms-GitHub
Copy link
Author

xgqfrms-GitHub commented Jul 1, 2017

React 单项数据流

将父组件的方法作为 props 传递给子组件使用,

子组件在自己的方法中调用 props 接收到的方法,并为其传递参数,从而执行父组件的方法,修改父组件的 state 值!

子组件不可以直接修改 父组件的 state !

image

@xgqfrms-GitHub
Copy link
Author

concat

concat

CSS3: High-level advice and guidelines

https://css3.webgeeker.xyz/

High-level advice and guidelines for writing sane, manageable, scalable CSS

https://cssguidelin.es/

https://react2.webgeeker.xyz/acknowledgements.html

3D GIS

https://gis.webgeeker.xyz/

https://xgqfrms.maps.arcgis.com/home/index.html

@xgqfrms-GitHub
Copy link
Author

@xgqfrms-GitHub
Copy link
Author

state = {
    cards: []
};

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment