Kristóf Poduszló

Results 110 issues of Kristóf Poduszló

Similarly to the [`triggerTarget`](https://atomiks.github.io/tippyjs/v6/all-props/#triggertarget) prop of Tippy.js, the `reference` prop should accept `React.RefObject[] | Element[]` parameters as well, to avoid having to do state-based ref management like below: ```tsx import...

enhancement

When importing an SVG, the [new JSX transform](https://reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html) doesn't work seamlessly along with React 17. The resulting component with inlined SVG data looks as follows: ```jsx var TextAroundImageEditor_IconFlip = function...

## Description When using Travis CI to publish packages on git tags, the following error gets thrown, even with the `--no-publish` flag set: ``` No commits found since previous release,...

In the unreleased modern-base stylesheet, there are [rules to normalize the behavior of replaced elements](https://github.com/sindresorhus/modern-normalize/blob/e811a7e61cea17589f7668335b9edd1f03662fb2/modern-base.css#L124-L140) like `img`, `video`. `svg`, `iframe`, `canvas` and `audio`. According to the [related issue of normalize.css](https://github.com/necolas/normalize.css/pull/166),...

When fetching an **unknown amount** of entities, the [`useQueries` hook](https://react-query.tanstack.com/reference/useQueries#_top) comes handy, e.g.: ```ts let filteredUsers: number[] = [/* Unknown amount of IDs */]; const results = useQueries( filteredUsers.map((id) =>...

✨ enhancement
🙋‍♂️ help wanted
🧙🏻 typescript wizardry

I’ve just encoded a lossless video with the following media information (gathered via `ffprobe`): ``` Duration: 00:00:45.00, start: 0.000000, bitrate: 717448 kb/s Stream #0:0: Video: h264 (High 4:4:4 Predictive), yuv444p(tv,...

Due to some [issues documented in the Netflix/vmaf repository](https://github.com/Netflix/vmaf/blob/master/resource/doc/ffmpeg.md#note-about-the-model-path-on-windows), the `vmaf_path` forwarded to ffmpeg is only accepted in a special format. Unfortunately, when I currently try using the `--target_quality` option...

While trying to deploy a GraphQL server using Netlify Functions (backed by AWS Lambda), I encountered the following issue viewable from [here](https://5ddafcc9836c890008d1588b--exigo.netlify.com/.netlify/functions/graphql). ``` {"errorMessage":"EROFS: read-only file system, mkdir '/var/task/src/node_modules/@types/nexus-prisma-typegen'","errorType":"Error","stackTrace":["Object.mkdirsSync (/var/task/src/node_modules/fs-extra/lib/mkdirs/mkdirs-sync.js:31:9)","Object.exports.hardWriteFileSync...

By using code from [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn), the following style rules could be enforced: - [explicit-length-check](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/explicit-length-check.md) - [15.3][] Use shortcuts for booleans, but explicit comparisons for strings and numbers. - [import-index](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/import-index.md) -...

Using [typescript-eslint-parser](https://github.com/eslint/typescript-eslint-parser), ESLint configurations can be enforced on TypeScript files. Modifying `.js,.jsx` to `.js,.jsx,.ts,.tsx` in the following files would fix most of the issues with TypeScript integration: - https://github.com/airbnb/javascript/blob/master/packages/eslint-config-airbnb/rules/react.js -...