Ethereum react dapps

I finished my first dapp with (react-boilerplate)[] this week and here are the few things I learnt. I won’t get into the redux, redux-saga details, I let you play with the amazing boilerplate. Interacting with constant functions Let’s use the typical balanceOf function of the EIP20 contracts: function balanceOf(address _owner) constant returns (uint256 balance) { return balances[_owner]; } Here are the sagas (redux-sagas) I used to interact: import { take, call, put, cancel, select, fork } from 'redux-saga/effects'; import { BALANCE_OF_GET, } from '....

October 27, 2016 · 6 min · Me

Kubernetes Singapore Birthday Event

On the 28th, I was invited to talk at Google Singapore for the Kubernetes birthday I spoke about my experience with Kubernetes in production for one of my side projects. As I like to experiment stuff, I decide to drop power point and use React Spectacle library for my presentation! here is the result: here is the source code: The framework can be found here: I will do it again!...

July 28, 2016 · 1 min · Me

learning react

React Nothing beats the facebook React page: Redux Nothing beats the redux tutorial: And also available on egghead, by Dan Abramov himself: A list of tutorials: A great detailed introduction to your SPA setup An advanced SPA (still under construction)

April 12, 2016 · 1 min · Me

react setup with essential tools

Working with ES6-7 In order to work with ECMAScript 2015 and even with future implementations of ES, you can use Babel. Babel is a transpiler, it will convert your ES6-7 to plain ES5 javascript that most browsers (>ie9 most probably) will understand. To install babel npm install -g babel Then within your javascript project, you can create a .babelrc file with the following content: { "presets": ["es2015", "stage-0", "react"] } React and its surrounding libraries After starting using React, I realized it was vey good and was surrounded with libraries which makes it even better: redux, immutable, react-router…...

April 11, 2016 · 2 min · Me