Skip to content

Instantly share code, notes, and snippets.

View r6203's full-sized avatar
👍

Robin Altay r6203

👍
  • Germany
  • 16:25 (UTC +02:00)
View GitHub Profile
@r6203
r6203 / how-to-use-web3-with-react-native.md
Created December 18, 2017 22:54
This file describes how to set up the Ethereum JS API web3.js with the boilerplate Create React Native App

How to set up web3.js with CRNA

This is a simple guide to get you started with using the Ethereum Javascript API (web3.js) with the Create React Native App project. This is not an in-depth guide.

  1. Make sure you have Node version 6 or later installed, if not, get it on the Node website

    node --version

  2. Install Create React Native App

(re-frame/reg-event-db
:save-client
(fn [db [_ client]]
(let [id (key client)]
(assoc-in db [:clients id] (:editing-client db)))))
import path from "path"
import webpack from "webpack"
import ExtractTextPlugin from "extract-text-webpack-plugin"
import { phenomicLoader } from "phenomic"
import PhenomicLoaderFeedWebpackPlugin
from "phenomic/lib/loader-feed-webpack-plugin"
import pkg from "./package.json"
@r6203
r6203 / App.jsx
Last active October 14, 2018 06:49
Phoenix + React + Webpack
import React from 'react';
const App = (props) => (
<div className="container">
<header className="header">
<nav role="navigation">
<ul className="nav nav-pills pull-right">
<li><a href="http://www.phoenixframework.org/docs">Get Started</a></li>
</ul>
</nav>