New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@qonto/react-migration-toolkit

Package Overview
Dependencies
Maintainers
0
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@qonto/react-migration-toolkit

A toolkit to help migrate Ember components to React

  • 2.1.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
219
increased by1464.29%
Maintainers
0
Weekly downloads
 
Created
Source

ember-autofocus-modifier-illustration

react-migration-toolkit

A set of tools facilitating the migration of Ember components to React components:

  • Ember to React bridge component
  • React providers
  • React hooks
  • React components

Usage

The main component brought by this addon is the ReactBridge Ember component.

It renders React components within Ember templates, permitting progressive UI migration and preserving existing logics and tests.

Full documentation can be found here (Qonto VPN must be on).

This branch uses the ReactBridge extensively and can be checked for reference.

Basic Example

To inject a React component in Ember:
// app/react/components/example.tsx

export function Example({ userName }: ExampleProps) {
  return <h1>Hello {userName}!</h1>;
}
// app/components/my-ember-component.js

import Component from '@glimmer/component';
import { Example } from 'app/react/components/example.tsx';

export default class MyComponent extends Component {
  reactExample = Example;
}
{{! app/components/my-ember-component.hbs }}

<ReactBridge
  @reactComponent={{this.reactExample}}
  @props={{hash userName='John'}}
/>
More examples can be found in the documentation

Installation

ember install react-migration-toolkit

Compatibility

  • Ember.js v4.12 or above
  • Embroider or ember-auto-import v2

Contributing

See the Contributing guide for details.

License

This project is licensed under the MIT License.

Keywords

FAQs

Package last updated on 25 Feb 2025

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc