Skip to content

Instantly share code, notes, and snippets.

@SeanDunford
SeanDunford / multiStepFormReactNative.js
Last active April 28, 2022 20:06
Prototype for a multistep form in react native using hooks
/* eslint-disable no-shadow, react/prop-types */
/* This is just temporary as this onboarding needs to be refactored */
import React, { useState } from 'react';
import { StyleSheet, Text } from 'react-native';
import { ScreenView } from '../../shared';
import { dimensions } from '../../../styles';
import { colors } from '../../../styles/colors';
import FirstName from './FirstName';
@SeanDunford
SeanDunford / response_render_stats.rake
Created December 12, 2017 21:11
Get missing/matched/mismatched/correct render count for renders found in the survey_response collection
desc 'DO REALLY AWESOME STUFF'
task :awesome_stff do
survey_count = 0;
response_count = 0;
missing_renders = 0;
matched_renders = 0;
mismatched_renders = 0;
puts 'Fetching all dem responses'