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

Platformweb

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

1
likes
105/ 140
pub points
86%
popularity

We analyzed this package 4 days ago, and awarded it 105 pub points (of a possible 140):

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

10/10 points: Provide a valid pubspec.yaml

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>
  │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

Use https URLs instead.

5/5 points: Provide a valid CHANGELOG.md

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.

OK
Provide documentation
20 / 20trigger folding of the section

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

180 out of 191 API elements (94.2 %) have documentation comments.

Some symbols that are missing documentation: w_flux.ActionV2.manageDisposable, w_flux.BatchedRedraws.redraw, w_flux.BatchedRedraws.shouldBatchRedraw, w_flux.FluxComponent.initComponentInternal, w_flux.FluxComponent.initStateInternal.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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
Pass static analysis
30 / 50trigger folding of the section

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

Found 6 issues. Showing the first 2:

WARNING: Implementing 'Function' has no effect.

lib/src/action.dart:59:61

   ╷
59 │ class ActionV2<T> extends Object with Disposable implements Function {
   │                                                             ^^^^^^^^
   ╵

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

WARNING: Implementing 'Function' has no effect.

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

  ╷
8 │ class _RedrawScheduler implements Function {
  │                                   ^^^^^^^^
  ╵

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

OK
Support up-to-date dependencies
20 / 20trigger folding of the section

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

Package Constraint Compatible Latest
meta ^1.6.0 1.14.0 1.14.0
react ^7.0.0 7.1.0 7.1.0
w_common ^3.0.0 3.0.1 3.0.1
Transitive dependencies
Package Constraint Compatible Latest
clock - 1.1.1 1.1.1
intl - 0.18.1 0.19.0
js - 0.6.7 0.7.1
logging - 1.2.0 1.2.0
path - 1.9.0 1.9.0

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

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

Analyzed with Pana 0.22.3, Dart 3.3.3.

Check the analysis log for details.

1
likes
105
pub points
86%
popularity

Publisher

verified publisherworkiva.com

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

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

unknown (LICENSE)

Dependencies

meta, react, w_common

More

Packages that depend on w_flux