I'm trying to implement redux-orm into an application and continue to have issues. I'm basing it off the redux-orm-primer on github my current issue is "schema.register is not a function". this is the code:
import ORM from 'redux-orm';
...
export const schema = new ORM();
schema.register(Client, Budget, Category, Subcategory);
Has anyone gotten this to work and can you share some insights or code? This is very frustrating.
That's not what the
ORMimport looks like as shown on the redux-orm home page.If you're referring to Tommi's redux-orm-primer it's not there either.
The correct import is: