HomePhabricator
Diffusion Comm 15d88b32ad15

[lib] Get rid of `emptyArray` in `thread-reducer`

Description

[lib] Get rid of emptyArray in thread-reducer

Summary:
This isn't used anywhere else and doesn't seem necessary? Seems like an unnecesary indirection instead of just placing an empty array (eg [])


Depends on D4195

Test Plan: Didn't test

Reviewers: def-au1t, palys-swm

Reviewed By: palys-swm

Subscribers: ashoat, Adrian, yayabosh

Differential Revision: https://phab.comm.dev/D4196

Details

Provenance
atulAuthored on Jun 21 2022, 9:29 PM
Reviewer
tomek
Differential Revision
D4196: [lib] Get rid of `emptyArray` in `thread-reducer`
Parents
rCOMM26d131fd1804: [lib] [web] Use `slice(0, -1)` instead of `slice(0, ...length - 1)`
Branches
Unknown
Tags
Unknown