Skip to content

Instantly share code, notes, and snippets.

View renoirb's full-sized avatar
💭
Sitting

Renoir Boulanger renoirb

💭
Sitting
View GitHub Profile
@renoirb
renoirb / 0README.md
Created August 16, 2021 22:40
Jenkinsfile when using RushJS.io and releasing only on CI

Example of a Jenkinsfile when publish on Nexus and use with RushJS.io

@renoirb
renoirb / 0README.md
Last active July 6, 2023 04:32
Example of a Page rendered within an application layout customElement and rendered client-side from raw markdown hosted on a GitHub Gist
@renoirb
renoirb / 0README.md
Last active July 15, 2021 01:14
DOM Coercion helpers

DOM Cœrcion utils

Utilities to drill down and manipulate back to the DOM

@renoirb
renoirb / 0README.md
Created July 15, 2021 00:33
Stateful purgatory

Stateful purgatory

Keep track of strings or numbers, and tell me whenever they are no longer needed.

Make something we want to keep track of to be self-purging. i.e. keep track of keys, by telling you've used them, if after a time isn't used, fill a list

Based on debounce-with-map.

@renoirb
renoirb / 0README_Input_Checkbox_Event.md
Last active June 10, 2021 20:54
Input and button clicking event without framework

Input type checkbox activated by button

This is common pattern, a "prettier" button showing a checkbox when checked

@renoirb
renoirb / 0POOR_MAN_REACTIVITY.md
Last active June 5, 2021 01:01
Poor man's "reactivity" state mutation management

Poor man's "reactivity" state manager

Instead of using RxJS we could have a state manager that knows how to handle all state transitions.

@renoirb
renoirb / .gitignore
Last active April 30, 2021 21:33
WeakMap and Class private fields transpiled for different runtimes
node_modules/
dist/
package-lock.json
@renoirb
renoirb / 0README.md
Last active May 5, 2021 18:52
Example components Single SPA

Example using Single SPA

Serve as is

npx serve --cors

Then make reference to the main.mjs in an import statement

@renoirb
renoirb / .editorconfig
Last active April 15, 2021 22:08
Type Guarded limited Map of named Data Transfer Object
# http://editorconfig.org
# Match with prettier.config.js AND .gitattributes
root = true
[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
@renoirb
renoirb / README.md
Last active February 11, 2021 17:08
Chained Keyboard Key combination Event handler