examples/advanced/many/src/List.js
Function model
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function model(action$, itemFn) {
function createRandomItemProps() {
let hexColor = Math.floor(Math.random() * 16777215).toString(16);
while (hexColor.length < 6) {
hexColor = '0' + hexColor;