Skip to content

Instantly share code, notes, and snippets.

View jdjuan's full-sized avatar
:octocat:

Juan Herrera jdjuan

:octocat:
View GitHub Profile
@jdjuan
jdjuan / pada.md
Last active December 15, 2022 18:06
The Official P.A.D.A Format: A standard for better meeting invites

P.A.D.A.

Purpose | Agenda | Documents | Actions

1. Context

Meetings are aimed at discussions where the perspective of attendees is key to solve important matters and reach conclusions. Meetings are not group working sessions that are aimed at getting something done. Meetings should range between 5 minutes and 30 minutes. Working sessions range from 30 minutes to 4 hours.

2. Meeting Invite

@jdjuan
jdjuan / react.md
Last active April 3, 2023 16:02
React Setup

React Lessons

  • Use Recoil for state management early on. It's too simple not to do it
  • Falsy values still render in in-line conditions. Always !! expressions that might not be boolean
  • Use default values for Enums, or ordering will change values
  • With event handlers, make sure to use an arrow function to avoid having to use .bind
  • If you want a component not to render, return null
  • Create interfaces first for the backend and the frontend
  • Define components (p, h1,h2,h3,h4) and mark them in the designs (with variants)
  • Put links in a common place