recompose_dart 0.0.9

  • README.md
  • Installing
  • Versions
  • 41

Pub

recompose_dart

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

Inspired by recompose

Use this package as a library

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

We analyzed this package on Jun 12, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.0.0-dev.60.0
  • pana: 0.11.3

Scores

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

Platforms

Detected platforms: web

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

Suggestions

  • Maintain CHANGELOG.md.

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

  • Fix analysis and formatting issues.

    Analysis or formatting checks reported 3 errors 6 hints.

    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'.

    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>'.

    Similar analysis of the following files failed:

    • lib/components/branch.dart (hint)
    • lib/components/lifecycle_component.dart (hint)
    • lib/components/pure.dart (hint)
    • lib/components/with_props.dart (hint)
    • lib/components/with_state.dart (hint)
    • lib/components/with_state_component.dart (hint)
  • Package is getting outdated.

    The package was released 58 weeks ago.

  • 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.24.1
Transitive dependencies
analyzer 0.30.0+4 0.32.1
args 1.4.3
async 2.0.7
barback 0.15.2+14 0.15.2+16
boolean_selector 1.0.3
browser 0.10.0+3
built_redux 7.4.1
charcode 1.1.1
cli_util 0.1.3
collection 1.14.10
convert 2.0.1
crypto 2.0.3
csslib 0.14.4
fixnum 0.10.7
front_end 0.1.0-alpha.4.1 0.1.1
glob 1.1.5
html 0.13.3+1
http 0.11.3+16
http_multi_server 2.0.5
http_parser 3.1.2
io 0.3.2+1
isolate 1.1.0 2.0.1
js 0.6.1
kernel 0.3.0-alpha.1.1 0.3.1
logging 0.11.3+1
matcher 0.12.2+1
meta 1.1.5
mime 0.9.6+1
multi_server_socket 1.0.1
node_preamble 1.4.2
package_config 1.0.3
package_resolver 1.0.3
path 1.6.0
platform_detect 1.3.3
plugin 0.2.0+2
pool 1.3.5
pub_semver 1.4.1
quiver 0.28.0 0.29.0+1
react 4.4.1
shelf 0.7.3+1
shelf_packages_handler 1.0.3
shelf_static 0.2.7+1
shelf_web_socket 0.2.2+2
source_map_stack_trace 1.1.4
source_maps 0.10.5
source_span 1.4.0
stack_trace 1.9.2
stream_channel 1.6.7
string_scanner 1.0.2
term_glyph 1.0.0
transformer_utils 0.1.3
typed_data 1.1.5
utf 0.9.0+4
w_common 1.12.0
w_flux 2.9.5
watcher 0.9.7+8
web_socket_channel 1.0.8
yaml 2.1.14
Dev dependencies
build ^0.7.0 0.11.2 0.12.6
build_runner ^0.3.0
built_collection ^1.3.0 3.1.1
built_value ^1.0.0 5.1.3 5.5.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.14
dartdoc >=0.8.0 <=0.10.0
source_gen >=0.5.0+03 <0.6.0 0.7.5+1 0.8.1+3
test ^0.12.6+2 0.12.40