![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.
@manifoldco/ui
Advanced tools
Manifold’s web component UI library, powered by Stencil.
npm i @manifoldco/ui
Framework | Supported? |
---|---|
Vanilla JS (no framework) | ✅ |
Angular | ✅ |
React | ✅ |
Vue | ✅ |
Ember | ✅ |
<head>
<link
rel="stylesheet"
type="text/css"
href="https://unpkg.com/@manifoldco/ui/dist/manifold/manifold.css"
/>
</head>
<body>
<manifold-marketplace></manifold-marketplace>
<script type="module">
import { defineCustomElements } from 'https://unpkg.com/@manifoldco/ui/dist/esm/es2017/manifold.define.js';
defineCustomElements(window);
</script>
</body>
<head>
<link
rel="stylesheet"
type="text/css"
href="https://unpkg.com/@manifoldco/ui/dist/manifold/manifold.css"
/>
</head>
<body>
<manifold-marketplace></manifold-marketplace>
<script src="https://unpkg.com/@manifoldco/ui/dist/manifold.js"></script>
</body>
import React from 'react';
import ReactDOM from 'react-dom';
import '@manifoldco/ui/dist/manifold/manifold.css';
import { defineCustomElements } from '@manifoldco/ui/dist/loader';
const App = () => <manifold-marketplace />;
ReactDOM.render(<App />, document.getElementById('root'));
defineCustomElements(window);
When using inside TypeScript, you’ll likely see this error (
manifold-connection
could be any custom element):
Property 'manifold-connection' does not exist on type 'JSX.IntrinsicElements'
To solve that, create a custom-elements.d.ts
file somewhere inside your
project (must be inside the include option in tsconfig.json
):
import { Components, JSX as StencilJSX } from '@manifoldco/ui';
import { HTMLAttributes, ReactNode } from 'react';
interface ReactInterface {
children?: ReactNode;
}
declare global {
export namespace JSX {
interface IntrinsicElements {
'manifold-button-link': HTMLManifoldButtonLinkElement & ReactInterface;
}
}
}
This will expose the types from Stencil to JSX, and you’ll be able to get typechecking as you write.
*Note: every element will have to be declared manually, at least until this PR is merged in TypeScript core.*🎉
Initializing Manifold UI works the exact same as any other Stencil project. For more advanced instructions on integrating with your specific stack, please refer to Stencil’s docs on integration.
FAQs
Manifold UI
We found that @manifoldco/ui demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 11 open source maintainers 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.