Pinned Loading
-
react-elastic-carousel
react-elastic-carousel PublicA flexible and responsive carousel component for react https://sag1v.github.io/react-elastic-carousel
-
-
react-only-when
react-only-when PublicA declarative component for conditional rendering
-
A run-time type checker with proxies
A run-time type checker with proxies 1function typeCheck(obj, definition) {
2return new Proxy(obj, {
3set(obj, key, value) {
4if (key in definition && typeof value !== definition[key]) {
5throw new TypeError(`Invalid type of ${key} '${typeof value}'. expected to be '${definition[key]}'`)
-
OOP-Javascript-Presentation
OOP-Javascript-Presentation PublicJavaScript presentation about OOP (using Spectacle) https://sag1v.github.io/OOP-Javascript-Presentation/
-
A simple implementation of undo and ...
A simple implementation of undo and redo in JavaScript 1const stripLast = arr => {
2// split the last item from an array and return a tupple of [rest, last]
3const length = arr.length;
4const lastItem = arr[length - 1];
5const restOfArr = arr.slice(0, length - 1);
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.