Install (npm or yarn) the following packages to your project
yarn add @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint eslint-config-universe eslint-plugin-react-redux prettier typescript --dev
import React, { Component } from "react"; | |
import { WebView } from "react-native-webview"; | |
import { Button, Modal, View } from "react-native"; | |
// Author: Hetmann Wilhelm Iohan | |
// Email: [email protected] | |
// Web: https://react-ui-kit.com | |
// YouTube: https://www.youtube.com/react-ui-kit | |
// This is a basic example showing how to use Zendesk Chat Widget using a webview inside a modal and a html code |
// React - Redux Ducks proposal | |
// https://github.com/erikras/ducks-modular-redux | |
// Actions | |
const LOAD_PROFILE = 'instagram/profile/LOAD'; | |
const EDIT_PROFILE = 'instagram/profile/EDIT'; | |
// Initial state | |
const INITIAL_STATE = { | |
profile: {} |
List() | |
var list = Immutable.List([1,2,3]) | |
// [1, 2, 3] | |
List.isList() | |
Immutable.List.isList(list) | |
// true | |
List.of() | |
var list = Immutable.List.of(1,2,3); |
// sloppy traceroute clone | |
// inpired by https://blogs.oracle.com/ksplice/entry/learning_by_doing_writing_your | |
// and made possible by https://www.npmjs.org/package/raw-socket | |
var raw = require('raw-socket'); | |
var dns = require('dns'); | |
var target = process.argv[2] || '173.230.146.29'; | |
var MAX_HOPS = 64; | |
var TIME_LIMIT = 5000; |