Skip to content

Instantly share code, notes, and snippets.

View shayc's full-sized avatar

Shay Cojocaru shayc

  • Microsoft
  • Israel
View GitHub Profile
shayc / temp
Created December 5, 2021 08:24
View temp
Fluent UI uses CSS-in-JS - We should opt for that as well.
Formik vs react-hook-form
Formik is older, components take longer to mount, re-renders the entire form on field change.
react-hook-form was written to replace Formik, better mount and rendering performance
Both Formik and react-hook-form have good community adoption (above 1mil npm weekly downloads)
Formik -
Size - 13kB
shayc / index.html
Created April 20, 2020 07:06
Touch logger
View index.html
<title>Touch logger</title>
body {
width: 100%;
height: 100%;
View gist:df9c8d47f575523df24a926949901b40
accept=".obf, .obz"
onChange={event => {
export async function readFiles(files: FileList): Promise<BoardSet[]> {
const obz = await parseOBZ(await readOBZFile(file))