[x] consolidate result chart components (use latest implementation of SequenceChart+SequenceMatch)
[ ] use function x() {} over const x = () => {} when not inline function
[ ] settle on best way to assign objects on first render. either useRef or useState? useState with lazy init
const chart = new SequenceChart("run-sequence-lookup-chart"); // doesn't work, will be reassigned on every render
const chart = React.useRef(new SequenceChart("run-sequence-lookup-chart")).current;
const [chart] = React.useState(() => new SequenceChart("run-sequence-lookup-chart"));
Backlog of tasks, once other important updates are done:
component.js
+index.js
[ref]let
/const
overvar
export default
[when it would be useful]SequenceChart
+SequenceMatch
)function x() {}
overconst x = () => {}
when not inline functionuseRef
oruseState
? useState with lazy initpurge
option [ref]