ulventech / dynamicdelta

Collection of common dynamic components for DynamicDelta.com
https://www.dynamicdelta.com/#/
0 stars 0 forks source link

Suggestion: Using Storybook.js to prototype components #6

Closed hairizuanbinnoorazman closed 6 years ago

hairizuanbinnoorazman commented 6 years ago

Experiment to see if using the Storybook JS library would help in speeding up development work of the Dynamic Delta Components https://github.com/storybooks/storybook

hairizuanbinnoorazman commented 6 years ago

This will be tested on a separate branch

hairizuanbinnoorazman commented 6 years ago

There are issues with storybook.js:

  1. Troublesome to implement it - need to define each example one at a time - in order to show example output and how to code, you would need to write that same section of code twice
  2. The things that kind of matter -> Capability to view how that code is written to get that output as well as knobs to alter the probs are non-trivial; there are plugins and extensions for this but it seems that it keeps breaking
  3. In order to document and provide explanation etc, it is also non-trivial -> Might be quite difficult to understand what is happening.

To conclude: Consider another tool: Styleguidist before taking any decision