Created
March 24, 2020 15:08
-
-
Save szmeku/e8ec7e5f864f5a07b1eb1b397af09849 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
getPlatesWithId = () => { | |
map | |
logika | |
} | |
// refactor to | |
plateToTableItem = (plate) => logika, return tableItem; | |
getBarcodes = (selectedId, plates) => logika2, plates.map(plateToTableItem) | |
// refactor to | |
plateToBarcode = (selectedId, plate) => plateToTableitem, logika2 | |
plates.map(platetoBarcode) | |
plates.map(_.pipe( | |
plateToTableItem, | |
tableItemToBarcode | |
)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment