w_flux 3.0.1 copy "w_flux: ^3.0.1" to clipboard
w_flux: ^3.0.1 copied to clipboard

Platformweb

Flux library for uni-directional dataflow inspired by reflux and Facebook's flux architecture.

1
likes
125/ 160
pub points
196k
downloads

We analyzed this package 2 days ago, and awarded it 125 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
15 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Failed check 0/5 points: Provide a valid README.md

Links in `README.md` should be secure. 1 link is insecure.

README.md:4:1

  ╷
4 │ <a href="http://codecov.io/github/Workiva/w_flux?branch=master"><img src="https://codecov.io/github/Workiva/w_flux/coverage.svg?branch=master" alt="codecov.io" /></a>
  │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵
copied to clipboard

Use https URLs instead.

Passed check 5/5 points: Provide a valid CHANGELOG.md

Failed check 0/10 points: Use an OSI-approved license

No license was recognized.

Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

180 out of 197 API elements (91.4 %) have documentation comments.

Some symbols that are missing documentation: w_flux.Action.Action.new, w_flux.ActionSubscription.ActionSubscription.new, w_flux.ActionV2.ActionV2.new, w_flux.ActionV2.manageDisposable, w_flux.BatchedRedraws.BatchedRedraws.new.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Web

These platforms are not supported:

Package not compatible with platform Android

Because:

  • package:w_flux/w_flux.dart that imports:
  • package:w_flux/src/mixins/batched_redraws.dart that imports:
  • package:react/react.dart that imports:
  • package:react/src/react_client/synthetic_data_transfer.dart that imports:
  • package:react/src/react_client/synthetic_event_wrappers.dart that imports:
  • package:js/js.dart that imports:
  • dart:js
Package not compatible with platform iOS

Because:

  • package:w_flux/w_flux.dart that imports:
  • package:w_flux/src/mixins/batched_redraws.dart that imports:
  • package:react/react.dart that imports:
  • package:react/src/react_client/synthetic_data_transfer.dart that imports:
  • package:react/src/react_client/synthetic_event_wrappers.dart that imports:
  • package:js/js.dart that imports:
  • dart:js
Package not compatible with platform Windows

Because:

  • package:w_flux/w_flux.dart that imports:
  • package:w_flux/src/mixins/batched_redraws.dart that imports:
  • package:react/react.dart that imports:
  • package:react/src/react_client/synthetic_data_transfer.dart that imports:
  • package:react/src/react_client/synthetic_event_wrappers.dart that imports:
  • package:js/js.dart that imports:
  • dart:js
Package not compatible with platform Linux

Because:

  • package:w_flux/w_flux.dart that imports:
  • package:w_flux/src/mixins/batched_redraws.dart that imports:
  • package:react/react.dart that imports:
  • package:react/src/react_client/synthetic_data_transfer.dart that imports:
  • package:react/src/react_client/synthetic_event_wrappers.dart that imports:
  • package:js/js.dart that imports:
  • dart:js
Package not compatible with platform macOS

Because:

  • package:w_flux/w_flux.dart that imports:
  • package:w_flux/src/mixins/batched_redraws.dart that imports:
  • package:react/react.dart that imports:
  • package:react/src/react_client/synthetic_data_transfer.dart that imports:
  • package:react/src/react_client/synthetic_event_wrappers.dart that imports:
  • package:js/js.dart that imports:
  • dart:js

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:w_flux/w_flux.dart that imports:
  • package:w_flux/src/mixins/batched_redraws.dart that imports:
  • package:react/react.dart that imports:
  • package:react/src/react_client/synthetic_data_transfer.dart that imports:
  • package:react/src/react_client/synthetic_event_wrappers.dart that imports:
  • package:js/js.dart that imports:
  • dart:js

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

Failed report section
Pass static analysis
30 / 50trigger folding of the section

Failed check 30/50 points: code has no errors, warnings, lints, or formatting issues

Found 5 issues. Showing the first 2:

WARNING: Implementing 'Function' has no effect.

lib/src/mixins/batched_redraws.dart:8:35

8class _RedrawScheduler implements Function {
  │                                   ^^^^^^^^
  ╵
copied to clipboard

To reproduce make sure you are using the lints_core and run dart analyze lib/src/mixins/batched_redraws.dart

INFO: 'Component' is deprecated and shouldn't be used. The Component base class only supports unsafe lifecycle methods, which React JS will remove support for in a future major version. Migrate components to Component2, which only supports safe lifecycle methods.

lib/src/component_common.dart:29:69

29abstract class FluxComponentCommon<ActionsT, StoresT> extends react.Component
   │                                                                     ^^^^^^^^^
   ╵
copied to clipboard

To reproduce make sure you are using the lints_core and run dart analyze lib/src/component_common.dart

Passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

Passed check 10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
meta ^1.16.0 1.16.0 1.16.0
react ^7.0.0 7.2.0 7.2.0
w_common ^3.0.0 3.2.0 3.2.0
Transitive dependencies
Package Constraint Compatible Latest Notes
clock - 1.1.2 1.1.2
intl - 0.18.1 0.20.2
js - 0.6.7 0.7.2 Discontinued
logging - 1.3.0 1.3.0
path - 1.9.1 1.9.1

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.20, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
Jul 4Aug 1Aug 29Sep 26Oct 24Nov 21Dec 19Jan 16Feb 13Mar 13010k20k30k40k50k60k70k80k90k>=1.0.0-0 <2.0.0>=2.0.0-0 <3.0.0>=3.0.0-0 <4.0.0
1
likes
125
points
196k
downloads

Publisher

verified publisherworkiva.com

Weekly Downloads

2024.09.19 - 2025.04.03

Flux library for uni-directional dataflow inspired by reflux and Facebook's flux architecture.

Repository (GitHub)
Contributing

Documentation

API reference

License

unknown (license)

Dependencies

meta, react, w_common

More

Packages that depend on w_flux