import React from 'react'; import { Text, View, Button } from 'react-native'; import { createBottomTabNavigator, createStackNavigator } from 'react-navigation'; import { Entypo, Ionicons, Feather, FontAwesome } from '@expo/vector-icons'; //Home class HomeScreen extends React.Component{ render(){ return ( <View style={{flex:1, alignItems: 'center', justifyContent: 'center'}}> <Text>Home</Text> <But
import React from 'react'; import { StyleSheet, Text, View, Button, Alert } from 'react-native'; import QRCode from 'react-native-qrcode'; import Barcode from 'react-native-barcode-builder'; export default class App extends React.Component { state = { text: 'hoge' } render() { return ( <View style={styles.container}> <Text>Generate QR and barcode.</Text> <QRCode value={this.state.text} size={200}
モチベーション Reduxを使っていたが個人開発なのでコード量が増えてつらい 使い慣れたアーキテクチャを使いたい 自分好みの処理分割、ファイル分割をしたい そもそもほかのライブラリ使うのにミドルウェアが必要なものってどうなのよ 学習コストが高くて飛び入りでプロジェクトに入った人がつらい 短期の開発で使いづらい もっと他にいいライブラリ無いの? React系の状態管理ライブラリ Redux mobX undux それぞれの長所、短所などをまとめてみます。 Redux メリット 厳正に書きかたが決まっている(ガイドラインがある) テストがしやすい アーキテクチャがきれい(個人的にはコードは見やすいと思います) デバッガなどのツールがそろっている デメリット 学習コストが高い コードの記述量が多い 影響範囲が広い アーキテクチャが限定される ミドルウェアが必要 mobX メリット Reduxに比
Hey i am struggling with sharing an base64 image via WhatsApp. In iOS also Android the actual base 64 is been shared instead of the image. If I use iMessage or Email (iOS) the base64 images is been converted and displayed as expected. In Android using Email for sharing displays just the base64 string. Did anyone else face the same issue? I am using react-native ~0.55.2 react-native Share API impor
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く