diff --git a/README.md b/README.md index cca7e3f..e67e449 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/javascript/library-easy-resizable-elements-no-dependencies.md b/javascript/library-easy-resizable-elements-no-dependencies.md new file mode 100644 index 0000000..c4dcf76 --- /dev/null +++ b/javascript/library-easy-resizable-elements-no-dependencies.md @@ -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!