Kristóf Poduszló
Kristóf Poduszló
## Motivation When it comes to interacting with the clipboard, [multiple options](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Interact_with_the_clipboard) are available. The Clipboard API is [not yet widely supported](https://caniuse.com/#feat=mdn-api_clipboard) by browsers. A compatible solution should be available...
## Motivation Arrays used as state variables may have a desired length limit. The [EvictingQueue](https://stackoverflow.com/a/15156403) data structure was just made with this purpose in mind. Encapsulating it in a hook...
This project needs a logo of its own. It would be displayed in the readme and as a 1280×640px social media preview. Personally, I was thinking about an anchor icon...
## Motivation Being readme-embedded, the documentation is starting to get cluttered and incomprehensible. Interactive playgrounds and use-cases should be provided for each hook and their configurable parameters. ## Details For...
## Motivation The [Generic Sensor API](https://www.w3.org/TR/generic-sensor/) features a base [Sensor](https://w3c.github.io/sensors/#the-sensor-interface) interface to build detectors upon. It would deprecate the following hooks: - useDeviceMotion - useDeviceOrientation Currently, the [browser support is...
## Description Please see [my tweet](https://twitter.com/kripod97/status/1298016811364036608) for further details. ## Reproduction Sandbox with all the information required: https://codesandbox.io/s/typescript-as-prop-with-react-polymorphic-box-vr269?file=/src/App.tsx
## Motivation Inspired by Emotion, a [`css` prop](https://emotion.sh/docs/css-prop) could be attached to JSX elements for better composition possibilities. ## Basic example ```jsx I am blue ``` ## Details For compatibility...
## Motivation As browsers are [adding support for debugging the CSSOM](https://developers.google.com/web/updates/2020/06/devtools), there should be no need to resort to slower DOM-based solutions.
## Motivation As suggested by [this article](https://sebastienlorber.com/records-and-tuples-for-react), hashing could be avoided for identical style records. This could increase performance, possibly with low efforts.
## Motivation When re-inserting a style for precedence management, the old rule isn’t removed from the stylesheet. This may cause some duplication when media or feature queries are used frequently.