You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This would allow me to keep the base interface minimalistic, while at the same time offer solutions to a seemingly frequent use case.
This is how it would look I think:
importuseResizeObserverfrom'use-resize-observer/throttled';importuseResizeObserverfrom'use-resize-observer/debounced';// Where the API / options are the exact same.
The only downside that I would probably have to provide polyfilled builds as well, so maybe:
This discussion was converted from issue #53 on August 15, 2021 23:20.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Instead of having them as options, I think it would be better to ship composing hooks, basically as they are outlined in the readme already:
This would allow me to keep the base interface minimalistic, while at the same time offer solutions to a seemingly frequent use case.
This is how it would look I think:
The only downside that I would probably have to provide polyfilled builds as well, so maybe:
And of course I would have to run the whole test suite and more on these builds.
I'll just leave this issue here to assess demand.
Beta Was this translation helpful? Give feedback.
All reactions