Skip to content

Code refactoring & formatting #16

@epicallan

Description

@epicallan
  • switch to typescript -- on going
  • add proper types for everything
  • substitute lodash with ramda
  • Refactor folder structure & names in some cases
  • get rid of closures. They have a performance cost & encourage use of global variables
  • selective imports from dependencies

currently for convenience we have such imports import * as Plottable from 'plottable'; but ideally this should be something like import {Components} as Plottable from 'plottable';. We should only import what we use.

  • break long functions into smaller functions

Metadata

Metadata

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