![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.
[![Build Status](https://www.bitrise.io/app/6dbd09bf795284e8/status.svg?token=cPPMxR4jerIruWOfSt-_6g&branch=master)](https://www.bitrise.io/app/6dbd09bf795284e8)
Dextrose cli aims to provide a simple way to get visual snapshots of specified components across all react native platforms.
Dextrose extends fructose by creating a new client. This client has the ability to request the loaded components of a react native app wrapped with Fructose. Once it has the components it cycles through each component and creates an image dump.
What you do with those images is up to you!
There are three CLI commands:
run, upload and generate-html
The Dextrose run command can be run with the following commands:
dextrose run --config path-to-config
--config, -c -path-to-config
--timeout, -T
appium timeout in milliseconds (not applicable to web)
--snapshotWait, -t
the amount of time to wait between loading a component and taking the snap
--loglevel, -l
default is set to info, able to set level to verbose
The Dextrose upload command can be run with the following commands:
dextrose upload snapshotDir --bucket bucketname --key commit_hash
--bucket, -b
the name of the s3 bucket
--key, -k
the name of the key in the bucket
--region, -r
the aws region
The Dextrose generate-html command can be run with the following commands:
dextrose generate-html --upload --bucket bucketname --key commit-hash
--upload, -u
using this will attempt to upload the html file to s3
--bucket, -b
the name of the s3 bucket
--key, -k
the name of the key in the bucket
--region, -r
the aws region
Example config
Native
module.exports = {
snapPath: path.join(__dirname, '../snaps'),
platformName: "iOS",
ignoredStories: ["IGNORE"]
}
Web
module.exports = {
snapPath: path.join(__dirname, '../snaps'),
platformName: "web",
breakpoints:[500, 1000],
ignoredStories: ["IGNORE"]
}
To run the the example Pull the repo
yarn
in the Dextrose folderyarn
in the snapshots folder (the snapshots folder is an example of how you would consume dextrose)./run-(ios | android | web).sh
note: please make sure you have an (emulator | simulator), (appium | selenium) and a packager running.
FAQs
[![Build Status](https://app.bitrise.io/app/6dbd09bf795284e8/status.svg?token=cPPMxR4jerIruWOfSt-_6g)](https://app.bitrise.io/app/6dbd09bf795284e8)
The npm package dextrose receives a total of 8 weekly downloads. As such, dextrose popularity was classified as not popular.
We found that dextrose 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.