Skip to content

Instantly share code, notes, and snippets.

View bhaskarmurthy's full-sized avatar

Bhaskar Murthy bhaskarmurthy

View GitHub Profile
@bhaskarmurthy
bhaskarmurthy / react-native-principles.md
Last active October 30, 2020 13:56
React Native notes

React Native principles

October 28, 2020

https://reactnative.dev/blog/2020/07/17/react-native-principles

  • Our top priority for React Native is to match the expectations people have for each platform. This is why React Native renders to platform primitives. We value native look-and-feel over cross-platform consistency.
  • In order to match the look-and-feel of native apps, we must also match their performance.
  • Great user experiences are created iteratively. It should only take a few seconds to seeing the result of code changes in a running app. React Native's architecture enables it to provide near-instant feedback during development.
  • Teams can easily leverage the fast-growing ecosystem of high quality open source packages. Teams can also share business logic between Android, iOS, and the web. This helps them ship updates faster and reduce organizational silos between platform teams.
@bhaskarmurthy
bhaskarmurthy / plink-plonk.js
Created February 15, 2020 19:59 — forked from tomhicks/plink-plonk.js
Listen to your web pages
@bhaskarmurthy
bhaskarmurthy / react-native-resources.md
Last active January 17, 2019 14:56
React Native resources

Libraries

  • formik - Build forms in React, without the tears
  • mobx - Simple, scalable state management
  • mobx-react - React bindings for MobX
  • mobx-state-tree - Model Driven State Management
  • react-apollo - React integration for Apollo Client
  • serializr - Serialize and deserialize complex object graphs to and from JSON and Javascript classes
  • styled-components - Visual primitives for the component age

UI

@bhaskarmurthy
bhaskarmurthy / StateMachine
Created October 16, 2018 05:19 — forked from elandau/StateMachine
Rx based state machine
package com.netflix.experiments.rx;
import java.util.HashMap;
import java.util.Map;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import rx.Observable;
import rx.Observable.OnSubscribe;
@bhaskarmurthy
bhaskarmurthy / RNfontWeights.js
Created October 20, 2017 15:01 — forked from knowbody/RNfontWeights.js
React Native Font Weight Cheatsheet iOS
{ fontWeight: '100' }, // Thin
{ fontWeight: '200' }, // Ultra Light
{ fontWeight: '300' }, // Light
{ fontWeight: '400' }, // Regular
{ fontWeight: '500' }, // Medium
{ fontWeight: '600' }, // Semibold
{ fontWeight: '700' }, // Bold
{ fontWeight: '800' }, // Heavy
{ fontWeight: '900' }, // Black
@bhaskarmurthy
bhaskarmurthy / designer.html
Last active August 29, 2015 14:06
designer
<link rel="import" href="../topeka-elements/category-images.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../core-icons/av-icons.html">
<link rel="import" href="../paper-fab/paper-fab.html">
<polymer-element name="my-element">
<template>
<style>
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../core-drawer-panel/core-drawer-panel.html">
<polymer-element name="my-element">
<template>
<style>
:host {