
Company News
Socket Partners with Replit to Block Malicious Packages in AI-Powered Development
Replit is integrating Socket Firewall into its AI-powered development experience to help protect builders from malicious open source packages.
@betrue/react-elementor
Advanced tools
Nx plugin to generate Wordpress plugin that enrich Elementor with ReactJS widgets. All widget are wrapped in web component that will act as a proxy between elementor and react. all web components uses shadow dom to prevent css overload.
Nx plugin to generate Wordpress plugin that enrich Elementor with ReactJS widgets. All widget are wrapped in web component that will act as a proxy between elementor and react. all web components uses shadow dom to prevent css overload.
State between component is maintained using Redux. but you can use the provider of your choice.

| Plugin | Description |
|---|---|
@betrue/react-elementor | Generate Reactjs Elementor widgets in Wordpress plugin; |
Create a new nx workspace (if doesn't exist)
npx create-nx-workspace@latest my-workspace
> NX Let's create a new workspace [https://nx.dev/getting-started/intro]
✔ Choose your style · integrated
✔ What to create in the new workspace · apps
✔ Enable distributed caching to make your CI faster · No
Install @betrue/react-elementor
cd my-workspace
npm install -D @betrue/react-elementor
Create a new plugin
npx nx g @betrue/react-elementor:plugin my-project
> NX Generating @betrue/react-elementor:application
✔ Which stylesheet formationi would you like to use? · styled-components
....
npm install
this generates starting code base made up of two react components (input from and display title) wrapped into elementor widgets.
you will find the sources of the Wordpress apps directory, and elementor/react widgets in libs/ui.
Each new widget has.
if you already have and Wordpress instance with elementor installed, you juste need to build the wordpress plugin
npx nx pkg my-project
Zip and upload using Wordpress plugin management the content of dist/element/my-project. that's all you can now try to use theses widgets into elementor :)
For development purpose, You can use storybook to live edit and test your react component https://localhost:4400
npx nx run my-project-ui:storybook

On build is important to pass the release version to make force resources update and reset cache
NX_RELEASE_VERSION=xxxx npx nx pkg my-project
you will find the output in dist/elementor/my-project, all you have to do is zip it and install it like any wordpress plugin
cd dist/elementor/
zip -r my-project.zip my-project/
If you have already installed docker and docker-compose you can try the elementor plugin in wordpress
npx nx pkg my-project `
start docker-compose
docker-compose -f apps/my-project/src/docker-compose.yml up -d
http://localhost:8000install and enable elementor elementor plugin plugin.new page and choose edit with elementor.my-project-title and my-project-input widgets to your page.nx g @betrue/react-elementor:addWidget --name my-widget --plugin my-plugin --attributes attr1,attr2
| Option | Description |
|---|---|
name | (Required) name of the Reactjs elementor widget |
plugin | (Required) The name of the Wordpress plugin in which the widget will be generated. |
attributes | List of attribute that are customizable in elementor |
author | Name of who makes this plugin. |
tags | Add tags to the project (used for linting). |
widgetDescription | Widget description that appear in Wordpress plugin view. |
version | Wordpress plugin version. |
FAQs
Nx plugin to generate Wordpress plugin that enrich Elementor with ReactJS widgets. All widget are wrapped in web component that will act as a proxy between elementor and react. all web components uses shadow dom to prevent css overload.
We found that @betrue/react-elementor demonstrated a healthy version release cadence and project activity because the last version was released less than 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.

Company News
Replit is integrating Socket Firewall into its AI-powered development experience to help protect builders from malicious open source packages.

Security News
npm confirmed a tooling bug incorrectly marked several one-character packages as security holders and said it was working on a rollback.

Research
/Security News
Newer packages in this compromise use native extensions and .pth loaders to execute JavaScript stealers in developer environments.