Skip to content

Commit

Permalink
docs: add resizable element library recommendation
Browse files Browse the repository at this point in the history
  • Loading branch information
drecali committed Jun 12, 2024
1 parent a469a40 commit 27b1993
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ This repo is inspired by the [@jbrandchaud/til](https://github.com/jbranchaud/ti
- [`[Bookmarklet]` - Use Wayback Machine for the current URL](javascript/bookmarklet-use-wayback-machine-on-current-page.md)
- [Combine conditions using array](javascript/combine-conditions-using-array.md)
- [`[Console]` - Style `console.log()` output with CSS](javascript/console-style-console-log-output-css.md)
- [`[Library]` - Easy resizable elements with no dependencies](javascript/library-easy-resizable-elements-no-dependencies.md)
- [`[Numbers]` - better readability with underscores for large numbers](javascript/numbers-better-readability-with-underscores-for-large-numbers.md)
- [Object copying failures and partial solutions](javascript/object-copying-failures-and-partial-solutions.md)
- [RegEx is awesome - online RegEx playgrounds and cheatsheets](javascript/regex-is-awesome-online-regex-playgrounds-cheatsheets.md)
Expand Down
7 changes: 7 additions & 0 deletions javascript/library-easy-resizable-elements-no-dependencies.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# `[Library]` - Easy resizable elements with no dependencies

The library [re-resizable](https://www.npmjs.com/package/re-resizable) is a simple and lightweight library that allows you to resize elements. It's easy to use, has [great docs](https://github.com/bokuweb/re-resizable), no dependencies, and is actively maintained (as of 2024 06). I used it at work and it made my life easier so I fully recommend it. 🙂

There's even a [Storybook](https://bokuweb.github.io/re-resizable/?path=/story/aspect--default) of different use cases.

Full disclosure: It's the only library I tried for this feature so I can't say it's the best. I just know it worked really well in my situation. Hope it helps!

0 comments on commit 27b1993

Please sign in to comment.