
Security News
MCP Community Begins Work on Official MCP Metaregistry
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
react-true-resizable
Advanced tools
A resizable that just work as you would expect!
there are some other resizable libraries for react out there like react-resizable or re-resizable or even the excellent library react-rnd. , but all of them inject style to the children component to make them resizable therefore their behavior is not consistent between different positions style( absolute,relative,static).
this library uses different approach, the only injected style is box-sizing
(for consistency), and the handlers are placed in absolute position relative to their own div, so it would work no matter what style is being used with the resizable children.
wrapper component which provides resize handle around html element.
note: do not wrap around complex react component directly, only simple ones - such as div,span,etc
.
for example, do this:
<Resizable>
<div>hey there!</div>
</Resizable>
but not this:
const MyDiv = () => <div>hey there!</div>;
<Resizable><MyDiv/></Resizable> // error
this is because a React component can not access his child's properties if it's a complex React component because the React Element has not been created yet(it's a function or an object).
FAQs
   ![issues](https://img.shields.io/github/issues/Elia
The npm package react-true-resizable receives a total of 1 weekly downloads. As such, react-true-resizable popularity was classified as not popular.
We found that react-true-resizable demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
Research
Security News
Malicious npm packages posing as developer tools target macOS Cursor IDE users, stealing credentials and modifying files to gain persistent backdoor access.