iTwin / appui

Monorepo for iTwin.js AppUi
MIT License
9 stars 2 forks source link

Make useRefState public #1122

Closed FelixGirard closed 4 days ago

FelixGirard commented 1 week ago

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

We are using useRefState. Could it be made public?

Maybe @itwin/react-hooks would be a better home for it?

Describe the Solution you'd like

No response

Describe alternatives you've considered

No response

Additional context

No response

GerardasB commented 4 days ago

I'd prefer to keep this hook private to AppUI packages. It's literally a 4 liner, you can simply copy it to your code-base or add it to @itwin/react-hooks package.