profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/KubaJastrz/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.

atomiks/tippyjs 9137

Tooltip, popover, dropdown, and menu library

KubaJastrz/find-types 7

Search engine for TypeScript definitions

KubaJastrz/password-generator 3

Utility progressive web app created with React/Redux

KubaJastrz/accessibility-guide 0

A curated collection of web accessibility tips, tricks, and best practices

KubaJastrz/DefinitelyTyped 0

The repository for high quality TypeScript type definitions.

KubaJastrz/dom-testing-library 0

🐙 Simple and complete DOM testing utilities that encourage good testing practices.

KubaJastrz/downshift 0

🏎 Primitive to build simple, flexible, WAI-ARIA compliant enhanced input React components

KubaJastrz/esbuild-node-tsc 0

Build your Typescript Node.js projects using blazing fast esbuild

KubaJastrz/esbuild-plugins 0

Collection of useful esbuild js plugins

create barnchKubaJastrz/tippyjs

branch : jj/bump

created branch time in 18 days

issue commentatomiks/tippyjs-react

Hide has a short delay even though `delay` prop set to 0

Here's related code: https://github.com/atomiks/tippyjs/blob/0b10cfbf72d8db7932b371f24ff78d2ad140a0d5/src/createTippy.ts#L809-L821

relogix

comment created time in 18 days

issue commentatomiks/tippyjs-react

Hide has a short delay even though `delay` prop set to 0

If delay is set to 0, tippy uses requestAnimationFrame to fire up instance.hide() event asynchronously. It might be possible that due to high CPU usage, the event might be delayed by the browser engine slightly.

I personally haven't experienced such delays with tippy, but it is pretty common in the JS world for setTimeout/requestAnimationFrame to run later than expected.

relogix

comment created time in 18 days

issue commentatomiks/tippyjs-react

Uncaught Invariant Violation: Hooks can only be

Hello @alexec, please make a codesandbox reproduction and I'll gladly take look at it :)

alexec

comment created time in 18 days

issue commentatomiks/tippyjs-react

pointer-events: none is set although interactive prop is set to true

Can you double check the react devtools to see if interactive is actually set to true in the Tippy component?

It seems like your component structure is overriding it somehow to false, even though the outermost component sets it to true.

BorisL91

comment created time in 19 days

startedmolefrog/wouter

started time in 21 days

issue commentatomiks/tippyjs-react

Never fully hiding in Jest tests

Hey @cscheffauer, the further investigation needs to be done, I haven't worked on this since our last conversation.

I'm still suspecting something fishy going on with the jest setup, and not the tippy itself, but if you have time to create a reproduction and test a few things that would be greatly appreciated!

Please let me know if this is a blocking issue for you.

skrivanos

comment created time in a month

startedwiktor-obrebski/type-safe-errors

started time in a month

issue openedreact-hook-form/react-hook-form

Add better error message when useFormContext is used outside of FormContext

Is your feature request related to a problem? Please describe.

When a component with useFormContext is used outside of the FormContext tree, the error message is thrown, which doesn't touch on what was the ultimate cause, but rather the fact that it can't destructure from null.

What's worse, it doesn't even mention react-hook-form in the stack trace, which buries the error cause even further. Without looking up to the react-hook-form documentation, it is hard to know what is happening, which can be problematic for newcomers.

Describe the solution you'd like

I would love to see a safe check on the useFormContext hook to see if it's living in the FormContext tree. One technique that I've always used is this (credits to KCD):

function useCount() {
  const context = React.useContext(CountContext)
  if (context === undefined) {
    throw new Error('useCount must be used within a CountProvider')
  }
  return context
}

Describe alternatives you've considered

I could also add a block comment to the component to warn that it needs to be used within a certain context, but I think that others would also benefit from the safe check inside this package.

Additional context

Reproduction: https://codesandbox.io/s/hook-form-issue-usecontext-lyn82

created time in 2 months

starteddinerojs/dinero.js

started time in 2 months

push eventKubaJastrz/openapi-generator-example

Jakub Jastrzębski

commit sha 7debcf612e96bb0193124b2b30ae0be2df640d96

docs: update diagram

view details

push time in 2 months

push eventKubaJastrz/openapi-generator-example

Jakub Jastrzębski

commit sha efa8cc9f22cab360d508da2519d5ad7badff2dcb

feat: add msw and docs

view details

push time in 2 months

push eventKubaJastrz/openapi-generator-example

Jakub Jastrzębski

commit sha 0e2739e2316b57c2b926434bf899d97b47ed412a

feat: prepare book api

view details

push time in 3 months

push eventKubaJastrz/openapi-generator-example

Jakub Jastrzębski

commit sha 627de3fd6e9954819c9ea8364bb09a851eeb0ae0

docs: link generator

view details

push time in 3 months

push eventKubaJastrz/openapi-generator-example

Jakub Jastrzębski

commit sha 36ac2eca2a12d457ef7f0a5239982fc93e372538

chore: use booleans in yaml

view details

push time in 3 months

create barnchKubaJastrz/openapi-generator-example

branch : master

created branch time in 3 months

created repositoryKubaJastrz/openapi-generator-example

created time in 3 months

startedandreipfeiffer/css-in-js

started time in 3 months

issue commentadobe/react-spectrum

docs: text legibility

Please consider switching to more accessible length units. Usage of pixels everywhere in the Spectrum components is kind of a blocker for me, as it doesn't respond to user agent settings. Other styling solutions, like Bootstrap, Tailwind, or Material-UI all support rem.

Related: https://www.w3.org/WAI/WCAG21/Techniques/css/C28.html

eps1lon

comment created time in 3 months