React example complexity #393
Description
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:
- Is the level of complexity an issue with MCD-Web or React or MCD-Web + React
- Is the level of complexity going to grow exponentially as you add components