
Security News
Browserslist-rs Gets Major Refactor, Cutting Binary Size by Over 1MB
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
starter-react-flux
Advanced tools
Starter-React-Flux generates a well-configured project of React and Flux PWA.
mkdir my-app && cd my-app
npx starter-react-flux init // JavaScript and npm
npx starter-react-flux init --ts // TypeScript
npx starter-react-flux init --yarn // yarn
npm start
npm start Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā // Launch the app with webpack-dev-server.
npm run build Ā Ā Ā Ā Ā Ā Ā Ā // Build the app into the ./public directory.
This command also analyzes the bundle file using Webpack Bundle Analyzer and generates reports.
npm test Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā // Testing with Jest.
npm run update_test // Update snapshots for snapshot testing.
npm run lint // Run static analysis by ESLint.
npm run fix // Run Prettier to fix code by lint rules.
.
āāā .babelrc //Configuration for Babel
āāā .eslintrc //Configuration for ESLint
āāā __tests__ //Test files for JEST
āāā app
ā āāā App.(js|tsx) //Entry point to build
āĀ Ā āāā actions //Action Creators of Flux
āĀ Ā āāā components //React Components
āĀ Ā āāā constants //Constatns for Action Creators and Stores of Flux
āĀ Ā āāā dispatcher //Dispatcher of Flux
āĀ Ā āāā stores //ReduceStore of Flux
āĀ Ā āāā utils //Utils
āĀ Ā āāā html //HTML template for PWA
āĀ Ā āāā icon //Icon source for PWA
āĀ Ā āāā sw.js //ServiceWorker template for PWA
āĀ Ā āāā utils //Utils
āāā node_modules
āāā package.json
āāā public //`npm run build` command generates the assets
āĀ Ā āāā css //CSS files
āĀ Ā āāā img //Image files
āĀ Ā āāā favicon.ico //Favicon
āĀ Ā āāā bundle.js //Built js by Webpack
āĀ Ā āāā manifest.*.json //Generated Web App Manifest
āĀ Ā āāā precache-manifest.*.js //Generated Precache Manifest for Workbox
āĀ Ā āāā icon_*.png //Generated icons from the source icon
āĀ Ā āāā sw.js //Generated ServiceWorker from the template
āĀ Ā āāā index.html //Generated index.html from the template
āāā analysis //Reports of bundle analysis
āĀ Ā āāā bundle-analyzer.html
āĀ Ā āāā bundle-size analyzer.log
āāā webpack.common.js //Configuration for Webpack
āāā webpack.prod.js //Production configuration for Webpack
āāā webpack.dev.js //Development configuration for Webpack
āāā tsconfig.json //TypeScript configuration (only for TypeScript project)
FAQs
A React/Flux project and code generator.
We found that starter-react-flux 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
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.