OpenSource: react-appstore-button module

react-appstore-button version: 0.0.9 🎒 NPM URL: https://www.npmjs.com/package/react-appstore-button 🕶 Github URL: https://github.com/arkilis/react-AppStore-Button What is this? An React component which allows you to create an AppStore Download Button in a few seconds. This button: Using vector format, svg file , so don’t worry about the resolution Can specify your App Store button with customised url, width and
Read More »

Pass values using Props

Arguments passed to components are called props in React, which looks like HTML element attributes, such as src, width, etc. props can be accessed such as: this.props.autor Define props in Component Comment [gist https://gist.github.com/arkilis/90e8471639872662fab973b41af807b5/] Pass values to Component Comment using props [gist https://gist.github.com/arkilis/9e41b652d59b296d557fde6ee9506d20/] A full example on passing parameters values [gist https://gist.github.com/arkilis/7180ffebff893516edfda3c19224833f/] Notice: function such
Read More »

WeApp: Jandan

WeApp-jandan 微信小程序–煎蛋 1. 效果图 (Final Screenshot) 功能: 无聊图 段子 妹子图 (这个是必须的) 投票 Github 地址: https://github.com/arkilis/weapp-jandan 2. 声明 (Disclaim) 真机调试不可用,因为,煎蛋的服务器没有正确地配置SSL证书,见谅~~~~ 如果有朋友告知怎么绕过这个证书错误,请告知多谢,🤗 3. 作者 Contact Weclome to my blog: http://arkilis.me Twitter: https://twitter.com/arkilis Wechat: [wpecpp name=”LIKE” price=”1.99″ align=”center”]

Get and Set a state in React

The state is a JavaScript object that lives inside each of the component, We can aaccess it via this.state. Unlike JQuery and Backbone, DOM is manipulated indirectly in React, which means we don’t modify the DOM directly. Use Scenarios Button click Link click How to use state 1. Set the Component’s state in the constructor
Read More »