Skip to content

Instantly share code, notes, and snippets.

View KevinAst's full-sized avatar
💭
Working hard to promote feature-u ... in my retirement :-)

Kevin Bridges KevinAst

💭
Working hard to promote feature-u ... in my retirement :-)
View GitHub Profile
@KevinAst
KevinAst / TreeView.renditions.md
Last active August 1, 2021 20:12
Svelte Issue: Transitions NOT honored on recursive <svelte:self>

Related Topic: Svelte Motion/Transition/Animation

This is a chronology of a Svelte TreeView component. From the baseline rendition of this component I wanted to support two additional requirements:

  1. Maintain a "deep" state retention. If you collapse/expand a grandparent node, the children/grandchildren expansion state should be un-altered.
@KevinAst
KevinAst / app.js
Created February 13, 2018 19:35
Sample feature-u src/app.js
import ReactDOM from 'react-dom';
import {launchApp} from 'feature-u';
import {reducerAspect} from 'feature-redux';
import {logicAspect} from 'feature-redux-logic';
import {routeAspect} from 'feature-router';
import features from './feature';
// launch our app, exposing the App object (facilitating cross-feature communication)
export default launchApp({ // *4*
@KevinAst
KevinAst / article.md
Last active March 5, 2023 13:24
Integrating GitBook with JSDoc to Document Your Open Source Project

Integrating GitBook with JSDoc to Document Your Open Source Project

Introduction

Good documentation should include two distinct elements - a Guide and an API:

  1. The Guide builds concepts, providing examples, etc.

GitBook is well suited to