alex-saunders/npm-ui

Split up the Scripts container into its component parts

Open

#17 aperta il 9 gen 2018

Vedi su GitHub
 (1 commento) (1 reazione) (0 assegnatari)JavaScript (2 fork)github user discovery
enhancementgood first issuehelp wanted

Metriche repository

Star
 (11 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Bug or Feature?

Feature / Improvement

Current Situation

The Scripts container is getting big as all functionality for the entire view is contained within this container.

Intended Change

We should split up the container and create components for its various parts, to held separate out concerns. The container should simply connect to the redux store and pass properties/functions down to its children, there should be little more functionality than that for the container.

To complete this, the following needs to be done

  • Create components for the container's various parts
  • Pass redux store properties/dispatch methods down to these components
  • Ensure components have the correct functionality

Guida contributor