Pedro Filho

Results 52 comments of Pedro Filho

I saw this problem using `react-use-measure` too, here: https://github.com/pmndrs/react-use-measure/issues/43

Hey @xargr, I had to make some research to decide on which to choose, and the answer is that SVG provides better performance with a larger surface or a smaller...

Alright then! I'll create the PR with this hook, using this lib! Whenever I get to the point where I can show something, I'll post it here! Thanks!

After working on it for a bit, I think it's not worth creating it here. What we could do is add documentation to use `react-use-measure.` Their API is "perfect", and...

Re-thinking about it, I think we can change the implementation to something like: ``` ``` and we can return the `bounds` object to the hooks, like: ``` const bounds =...

What this provider would do is creating the `ref` for the user, by himself. It could accept props to pass its own ref, but it would just for certain use-cases,...

Na minha opinião, se você tá traduzindo uma documentação, deveria traduzir também os nomes de variáveis e etc. Caso a pessoa se sinta mais confortável com as coisas em inglês,...

I had to use it to disable sizes out of stock, on a summary page that I'm building. I'm taking this example from `react-select`, and they have it for `isOptionDisabled`...

Nope, I can do it here, so, the idea is to first implement the `isItemDisabled` and then the `isItemSelected`? Or create one PR for both together? (I think that I...