The Wayback Machine - https://web.archive.org/web/20201019194802/https://github.com/sag1v
Skip to content
Avatar
🎯
Focusing
🎯
Focusing
  • AppsFlyer
  • israel

Highlights

  • Arctic Code Vault Contributor

Pinned

  1. A flexible and responsive carousel component for react https://sag1v.github.io/react-elastic-carousel

    JavaScript 88 26

  2. Detect dom events inside or outside an element

    JavaScript 4 4

  3. A declarative component for conditional rendering

    JavaScript 6

  4. 1
    function typeCheck(obj, definition) {
    2
      return new Proxy(obj, {
    3
        set(obj, key, value) {
    4
          if (key in definition && typeof value !== definition[key]) {
    5
            throw new TypeError(`Invalid type of ${key} '${typeof value}'. expected to be '${definition[key]}'`)
  5. JavaScript presentation about OOP (using Spectacle) https://sag1v.github.io/OOP-Javascript-Presentation/

    JavaScript 4 2

  6. 1
    const stripLast = arr => {
    2
      // split the last item from an array and return a tupple of [rest, last]
    3
      const length = arr.length;
    4
      const lastItem = arr[length - 1];
    5
      const restOfArr = arr.slice(0, length - 1);

111 contributions in the last year

Oct Nov Dec Jan Feb Mar Apr May Jun Jul Aug Sep Oct Mon Wed Fri
Activity overview
Loading

Contribution activity

October 2020

You can’t perform that action at this time.