![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
@invitation/embed
Advanced tools
A module that enables dynamic embeds and widgets from Invitation 🎁 https://invitation.codes
Invitation is a social network focused on sharing offers & referral codes with your friends. This module lets Invitation members (and publishers) embed offers on their own websites.
Using this module, Invitation codes members can feature their referral codes on their websites and publishers can automatically show available deals & coupons for any brands. This module is written in ES6 and is specifically written to fit in modern development stacks (React, vue, etc)
npm i @invitation/embed
In your app, anywhere, initialize the library:
import embed from '@invitation/embed';
embed(); // Initialize web-components library
This function only need to be called once. Once in memory, the library will render all <invitation-something>
components it encounters in future templates.
With a custom locale:
import embed from '@invitation/embed';
embed({
locale: 'es_MX' //Spanish (Mexico) translation of widgets
})
Installing this as a module is not necessary for simple html websites like:
Simply add this script tag into your website <head>
:
<script defer async src="https://invitation.codes/invitation-widgets.js" />
Now, anywhere in your templates, you can include Invitation custom components. There are many widgets to choose from, and they can be customized via html attributes. Some popular ones includes:
Example:
<invitation-user-code program="buy-me-a-coffee" user="Owc4NhV2y" layout="card" ><a href="https://invitation.codes/">Find and share referral codes on Invitation</a> - the referral community.</invitation-user-code>
<!-- Invitation.codes widget
Details: https://invt.co/widgets -->
The specifics of attributes and available tags change frequently, check the Invitation codes website for details specs:
🧪 Playground: https://invitation.codes/widgets (sign-in required)
If you have questions or a bug to report, you can contact the support team directly via our inbox:
🚧 soon 🚧
FAQs
A module that enables dynamic embeds and widgets from Invitation 🎁 https://invitation.codes
The npm package @invitation/embed receives a total of 1 weekly downloads. As such, @invitation/embed popularity was classified as not popular.
We found that @invitation/embed 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
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.