recompose_dart 0.0.9

  • README.md
  • Installing
  • Versions
  • 38

Pub

recompose_dart

recompose_dart is a collection of utilities for writing functional react components in dart.

Inspired by recompose

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  recompose_dart: "^0.0.9"

2. Install it

You can install packages from the command line:

with pub:


$ pub get

Alternatively, your editor might support pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:recompose_dart/recompose_dart.dart';
        
Version Uploaded Documentation Archive
0.0.9 Apr 30, 2017 Go to the documentation of recompose_dart 0.0.9 Download recompose_dart 0.0.9 archive
0.0.8 Apr 19, 2017 Go to the documentation of recompose_dart 0.0.8 Download recompose_dart 0.0.8 archive
0.0.7 Apr 19, 2017 Go to the documentation of recompose_dart 0.0.7 Download recompose_dart 0.0.7 archive
0.0.6 Apr 19, 2017 Go to the documentation of recompose_dart 0.0.6 Download recompose_dart 0.0.6 archive
0.0.5 Apr 18, 2017 Go to the documentation of recompose_dart 0.0.5 Download recompose_dart 0.0.5 archive
0.0.4 Apr 17, 2017 Go to the documentation of recompose_dart 0.0.4 Download recompose_dart 0.0.4 archive
0.0.3 Apr 16, 2017 Go to the documentation of recompose_dart 0.0.3 Download recompose_dart 0.0.3 archive
0.0.2 Apr 16, 2017 Go to the documentation of recompose_dart 0.0.2 Download recompose_dart 0.0.2 archive
0.0.1 Apr 16, 2017 Go to the documentation of recompose_dart 0.0.1 Download recompose_dart 0.0.1 archive

Analysis

This feature is new.
We welcome feedback.
More details: scoring.

We analyzed this package, and provided a score, details, and suggestions below.

  • tool failures on Feb 24, 2018
  • Dart: 2.0.0-dev.20.0
  • pana: 0.10.1

Scores

Popularity:
Describes how popular the package is relative to other packages. [more]
0 / 100
Health:
Code health derived from static analysis. [more]
78 / 100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
72 / 100
Overall score:
Weighted score of the above. [more]
38

Platforms

Detected platforms: web

Primary library: package:recompose_dart/recompose_dart.dart with components: html, js.

Suggestions

  • Fix lib/components/with_ref.dart.

    Strong-mode analysis of lib/components/with_ref.dart failed with the following error:

    line: 13 col: 21
    A value of type 'P' can't be assigned to a variable of type 'RefProp<Element>'.

  • Fix lib/components/compose.dart.

    Strong-mode analysis of lib/components/compose.dart failed with the following error:

    line: 27 col: 5
    The return type '((dynamic) → ReactElement) → (dynamic) → ReactElement' isn't a '((OutterP) → ReactElement) → (InnerP) → ReactElement', as defined by the method 'compose'.

  • Maintain CHANGELOG.md.

    Changelog entries help clients to follow the progress in your code.

  • Fix issues reported by dartanalyzer.

    dartanalyzer reported 2 error(s) and 0 warning(s).

  • Package is pre-v1 release.

    While there is nothing inherently wrong with versions of 0.*.*, it usually means that the author is still experimenting with the general direction API.

  • Maintain an example.

    Create a short demo in the example/ directory to show how to use this package. Common file name patterns include: main.dart, example.dart or you could also use recompose_dart.dart.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.17.1 <2.0.0
over_react ^1.6.0 1.21.0
Transitive dependencies
analyzer 0.30.0+4 0.31.1
args 1.4.1
async 2.0.3 2.0.4
barback 0.15.2+14
browser 0.10.0+2
built_redux 7.3.5
charcode 1.1.1
cli_util 0.1.2+1
collection 1.14.5
convert 2.0.1
crypto 2.0.2+1
csslib 0.14.1
fixnum 0.10.7
front_end 0.1.0-alpha.4.1 0.1.0-alpha.10
glob 1.1.5
html 0.13.2+2
isolate 1.1.0
js 0.6.1
kernel 0.3.0-alpha.1.1 0.3.0-alpha.10
logging 0.11.3+1
matcher 0.12.1+4
meta 1.1.2
package_config 1.0.3
path 1.5.1
platform_detect 1.3.3
plugin 0.2.0+2
pool 1.3.4
pub_semver 1.3.2
quiver 0.25.0 0.28.0
react 3.6.0 4.2.0
source_span 1.4.0
stack_trace 1.9.2
string_scanner 1.0.2
transformer_utils 0.1.3
typed_data 1.1.5
utf 0.9.0+4
w_common 1.11.1
w_flux 2.9.4
watcher 0.9.7+7
yaml 2.1.13
Dev dependencies
build ^0.7.0 0.11.2 0.12.0+1
build_runner ^0.3.0
built_collection ^1.3.0 3.0.5
built_value ^1.0.0 4.6.1 5.2.1
built_value_generator ^1.0.0
coverage ^0.7.3
dart_dev ^1.0.0
dart_style >=0.2.0 <0.3.0 1.0.9+1 1.0.10
dartdoc >=0.8.0 <=0.10.0
source_gen >=0.5.0+03 <0.6.0 0.7.5+1
test ^0.12.6+2