dx-platform
dx-platform copied to clipboard
Helps to avoid mouse-up clicks made on target dom-node but dragged outside of it  For example when RootClose is wrapped around resizable/draggable element which is limited by some maxWidth...
Added optional property for checking bounds or not checking bounds
https://github.com/devexperts/dx-platform/blob/5ed039d75208c961a76f24cb83932c274c44057b/packages/react-kit/src/components/DateInput/DateInput.model.ts#L21 When we use new Date().getTime() returned mileseconds depends provided format. For example: ``` new Date('2021-03-29').getTime(); // 1616976000000 and it's Mon Mar 29 2021 00:00:00 new Date('2021-3-29').getTime(); // 1616965200000 and...
`useSubscription` doesn't work - `useMemo` creates the subscription during the first render, but then `useEffect` unsubscribes after the component has mounted(there are no deps in `useEffect` call). Also I think...
Add the following type to rx-utils ```typescript interface Behavior extends Observable { readonly getValue: () => A; } ``` so that we could use it as both a value-over-time and...
I'm using hook useObservable from [email protected] and hook doesn't work. After update stream hook doesn't provide data in a component.
https://github.com/devexperts/dx-platform/blob/3ec7ea0edc4fa2820fd44ae563b46fba52d13698/packages/react-kit/src/utils/with-observable.ts#L95
[withObservable](https://github.com/devexperts/dx-platform/blob/master/packages/react-kit/src/utils/with-observable.ts#L91) has it
For cleaner integration of rules through eslint config file: 
Lightweight zero-runtime Option replacement