Unlike other types in Immutable.js, the Record() function creates a new Record Factory, which is a function that creates Record instances.
Record()
See above for examples of using Record().
Note: Record is a factory function and not a class, and does not use the new keyword during construction.
Record
new
Unlike other types in Immutable.js, the
Record()function creates a new Record Factory, which is a function that creates Record instances.See above for examples of using
Record().Note:
Recordis a factory function and not a class, and does not use thenewkeyword during construction.