Skip to content
This repository was archived by the owner on Jan 13, 2025. It is now read-only.
This repository was archived by the owner on Jan 13, 2025. It is now read-only.

React example complexity #393

Closed
Closed
@ianchanning

Description

@ianchanning

This is a feature request for the react examples I guess. I'm learning React and I've just started to try and implement MDC-Web.

I'm using MDC-Web v0.6.0 with React v15.4.1 (Ubuntu 16.04 Vagrant box running on Fedora 25 + Firefox)

I've installed and run the react example. It works perfectly straight out of the box, which is awesome. Plus it gives a fully working state handling model using PureComponents and Immutable as part of the example which is also great.

What concerns me is that Checkbox.js is ~200 lines long (excluding the licence comment).

If it is 200 lines to implement a checkbox, how much coding does it take to implement a form with error handling? Or beyond that an application.

Perhaps I'm just penalising the example because it gives a good level of detail of handling state, which most other examples don't do.

So my questions would be:

  1. Is the level of complexity an issue with MCD-Web or React or MCD-Web + React
  2. Is the level of complexity going to grow exponentially as you add components

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions