cyclejs/cycle-core

View on GitHub
examples/advanced/nested-folders/src/Folder.js

Summary

Maintainability
A
1 hr
Test Coverage

Function model has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function model(action$) {
  const initReducer$ = xs.of(function initReducer(prevState) {
    if (typeof prevState === 'undefined') {
      return {id: 0, removable: false, children: []}
    } else {
Severity: Minor
Found in examples/advanced/nested-folders/src/Folder.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status