![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.
@adapt-design-system/core
Advanced tools
React components that implement ADAPT Design System.
yarn add @adapt-design-system/core styled-components
<AdaptThemeProvider />
with a theme file and set the global fonts.import { createGlobalStyle } from 'styled-components';
import { AdaptThemeProvider, Button } from '@adapt-design-system/core';
const GlobalStyle = createGlobalStyle`
body {
font-family: ${props => props.theme.fonts.default};
}
`;
const App = () => (
<AdaptThemeProvider>
<>
<GlobalStyle />
<Button>Hi!</Button>
</>
</AdaptThemeProvider>
);
/packages/adapt-design-system-core
folder).yarn install
yarn run build:watch
The build will re-run every time you save changes. Alternatively you can run yarn run build
each time you wish to build.
To test out your changes to the DS locally, run npm link
in this repo directory to link it locally. Then, in your new consumer project (Gatsby, for example*) run yarn add @adapt-design-system/core
(if it's never been installed), then run npm link @adapt-design-system/core
to link it to the local version. If you're running the design system the build:watch
mode, your project should reload every time you save a change to the DS.
You may run into issues where styled-components
throws a warning about multiple running instances. This will prevent your project from properly compiling the locally-linked design system. To fix this, you need to edit or add a gatsby-node.js
file (for Gatsby users) or edit your webpack config to add the alias below.
Gatsby example:
const path = require('path');
exports.onCreateWebpackConfig = ({ actions }) => {
actions.setWebpackConfig({
resolve: {
alias: {
'styled-components': path.resolve('./node_modules/styled-components'),
},
},
});
};
To publish a new version run yarn publish-package
. If you introduce a breaking change, bump the major version (2.0.3 -> 3.0.0). If you add new (non-breaking) functionality bump the minor version (2.0.3 -> 2.1.0). Otherwise bump patch when adding new icons (2.0.3 -> 2.0.4). You will be asked for a new version.
Don't forget to upgrade the consuming packages, in this case /docs
, to make use of the new version. Like so:
yarn upgrade @adapt-design-system/core@^2.0.4
FAQs
ADAPT Design System for React
The npm package @adapt-design-system/core receives a total of 0 weekly downloads. As such, @adapt-design-system/core popularity was classified as not popular.
We found that @adapt-design-system/core demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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.