Federico Zivolo

Results 282 comments of Federico Zivolo

It would allow to use the ["callback refs"](https://reactjs.org/docs/refs-and-the-dom.html#callback-refs) as described by the React docs. ``` const [element, setElement] = useState(null); useOnClickOutside(element, callback); return ; ``` In `react-popper` we recommend to...

Hi, looks like this is a deal breaker for people using recompose to create their components. Is there any progress on this front?

Isn't there any way to manually mark a function as "component"? Maybe with a comment, or a regex? In my case I only `export default` components, so I would just...

To me it would be enough even to simply support something like `// @component` or similar anyway.

Check out react-resize-aware for rasize awareness 🙃

`transform` is supported, should we close this issue? @sapphi-red

You can use a glob to grab all the folders files, that will work.

``` { src: 'folder/*', dest: 'build/folder', transform: content => content + 'b', } ```

1. The problem with that is that users of libraries such as Bootstrap which don't have usually access to JS will not be able to use the `auto` placement. I'm...

> 1. It doesn't look like Bootstrap 5 offers the `auto` placement at all 🤔 [getbootstrap.com/docs/5.0/components/tooltips](https://getbootstrap.com/docs/5.0/components/tooltips/). imo, we shouldn't provide any wrappers, because Bootstrap can create their own mini-wrapper. The...