Skip to content

Instantly share code, notes, and snippets.

View gyenabubakar's full-sized avatar
:octocat:

Gyen Abubakar Sadick gyenabubakar

:octocat:
View GitHub Profile
@markhalliwell
markhalliwell / shim-jspanel4.d.ts
Last active June 21, 2023 17:26
jspanel4 TypeScript declarations
declare module 'jspanel4' {
// Types.
export type IJSPanelAutoPosition = 'down' | 'left' | 'up' | 'right';
export type JSPanelContent<T = string | HTMLElement> = T;
export type IJSPanelContentArray<
TContent = string | HTMLElement,
> = IJSPanelDynamicContent<TContent>[] | JSPanelContent<TContent>;
export type JSPanelControlStatus = 'disable' | 'enable' | 'hide' | 'remove' | 'show';
export type IJSPanelDimension = number | string | IJSPanelCallback<number | string>;
export type IJSPanelDynamicContent<
@jacob-ebey
jacob-ebey / deferred-overview.md
Last active September 11, 2023 09:10
Deferred Overview

Remix Deferred

Remix Deferred is currently implemented on top of React's Suspense model but is not limited to React. This will be a quick dive into how "promise over the wire" is accomplished.

SSR + Hydration

It isn't rocket science, but a quick recap of how frameworks such as react do SSR:

  1. Load data
  2. Render the app
@codeSTACKr
codeSTACKr / mongodb_cheat_sheet_2022.md
Created January 10, 2022 22:54
MongoDB Cheat Sheet 2022