Ethereum react dapps

I finished my first dapp with (react-boilerplate)[https://github.com/mxstbr/] 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 http://www.meetup.com/fr-FR/GCPUGSG/events/232659329/?eventId=232659329 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: https://kuberneprez.surge.sh here is the source code: https://github.com/vincentserpoul/prez-kubernetes The framework can be found here: http://stack.formidable.com/spectacle/#/?_k=cyx05u I will do it again!...

July 28, 2016 · 1 min · Me

learning react

React Nothing beats the facebook React page: https://facebook.github.io/react/docs/getting-started.html Redux Nothing beats the redux tutorial: http://redux.js.org/ And also available on egghead, by Dan Abramov himself: https://egghead.io/series/getting-started-with-redux A list of tutorials: https://github.com/happypoulp/redux-tutorial A great detailed introduction to your SPA setup http://blog.joanboixados.com/building-a-boilerplate-for-a-koa-redux-react-application-including-webpack-mocha-and-sass/ An advanced SPA (still under construction) https://www.gitbook.com/book/tonyhb/redux-without-profanity/details

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