Sam Colburn

Results comments of Sam Colburn

First, if I understand you correctly, you should not be using `QuerySet.add` to add new entities to the store. You should be using `Model.create(entity)` for that. This will accept objects...

@haveyaseen Thanks for the quick and informative reply! > No, QuerySet functions don't work with the new selectors API. Good so I'm not going crazy 😂. I feel like something...

> The release notes for the RC versions are not intended to be complete. Yep that makes perfect sense. >Makes it worth including a short explanation. Yeah I guess my...

I asked a similar question a few months ago ([thread](https://github.com/redux-orm/redux-orm/issues/269#issuecomment-508285450)), so that may give you some insights. I ended up reworking a lot of my components to use more specific...

I use a batched reducer to update my redux state in 1 commit: ```` const createBatchEntity = ( { sess, Model }, data) => { data.forEach((record) => { ModelClass.parse(record) })...

Just a head's up: [https://unpkg.com/validator.js@latest/dist/validator.min.js](https://unpkg.com/validator.js@latest/dist/validator.min.js) does not point to this package. I think you probably want: [https://unpkg.com/validator@latest/validator.min.js](https://unpkg.com/validator@latest/validator.min.js)

It's been a while since I looked at that project but I think I just ended up having to use release versioning.

2 more suggestions: 1. The same as @skatcat31 's most recent `Array.prototype.reduce()` method but using `Element.insertAdjacentHTML()` instead of `Element.innerHTML`: ```javascript const arrayToHtmlList = (arr, listID, formatterFunction = (acc, item) =>...

Have you tried using it as a module instead of through the cli? ```javascript // server.js const jsonServer = require('json-server') const server = jsonServer.create() const router = jsonServer.router('db.json') const middlewares...

To make `PATCH` requests you want to do something like this (note this is for a native fetch request not axios, but the same logic should apply): ```javascript const makePatchRequest...