This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { fold, pending, RemoteData } from '@devexperts/remote-data-ts'; | |
import { constNull } from 'fp-ts/lib/function'; | |
import { createElement, memo, useEffect, useMemo, useState } from 'react'; | |
import { pipe } from 'fp-ts/lib/pipeable'; | |
import { LiveData } from '@devexperts/rx-utils/dist/live-data.utils'; | |
import { newSink, Sink } from '@devexperts/rx-utils/dist/sink2.utils'; | |
import { Context, context } from '@devexperts/rx-utils/dist/context2.utils'; | |
import { observable } from '@devexperts/rx-utils/dist/observable.utils'; | |
import { distinctUntilChanged, share, switchMap } from 'rxjs/operators'; | |
import { render } from 'react-dom'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@iterations: 30; | |
.loopingClass (@iterations); | |
// helper class, will never show up in resulting css | |
// will be called as long the index is above 0 | |
.loopingClass (@index) when (@index > 0) { | |
~.ico@{index} { | |
// your resulting css |