The redux best practices says not to mix plain javascript object with immutablejs objects. I'm trying my hand at functional programming and it seems like the monads require the computations/values to be stored inside an object, or some container of sorts. AFAIK immutablejs maps can't store methods. Are there any issues with using FP libraries like Folktale? I haven't noticed any noticeable issues with the basic todo app (which is all I can try at the moment), so I'm hoping for some clarification on immutablejs best practices, hopefully FP leaning.
Immutablejs within plain objects - Monads
301 Views Asked by jmmendez At
1
There are 1 best solutions below
Related Questions in FUNCTIONAL-PROGRAMMING
- Access into a Binary Search Tree via a bound function in a function template
- Convert loop to Maybe monad
- Lazy concat in Immutable.js?
- Erlang syntax error unclear
- What is the type of the variable in do-notation here in Haskell?
- Lazy functions evaluation in swift
- Standard ML / NJ: Loading in file of functions
- First Object in Set<Future<Object>> that satisfies a predicate
- How to write a type that is isomorphic to Tree without nested lists?
- Functional way of doing a loop of operations on an array
- Good practice on how to store the result of a function for later use in R
- Apply a list of Functions to a Java stream's .map() method
- First word of binary string erlang
- Easier way to apply multiple arguments in Haskell
- scala : use of braces for a function when the parameter is a predicate
Related Questions in IMMUTABLE.JS
- Lazy concat in Immutable.js?
- How to do animations with React and Immutable.js?
- Move elements from one List to another with Immutable.js
- Should every object in the store state be immutable?
- Why assert throws a reference error
- React performance: rendering big list with PureRenderMixin
- How to calculate difference between two Maps in ImmutableJS?
- How to update value of an immutable list by iterating through it
- What is the typescript syntax for keyed arrays
- Custom fromJS immutablejs issue
- Immutable List and Typescript proper way to define an array of objects with type
- How can mapStateToProps receive the updated state in react-redux implementation
- ImmutableJS within react components
- Additional minifications for Immutable.js?
- keeping track of history in a React component using Immutable.js
Related Questions in FOLKTALE
- By using functional programming javascript with folktale2, how to access results of previous tasks gracefully?
- How to extract the value out of Monads in the Crocks javascript library
- λ: folktale data.task - apply an unknown number of Tasks
- Convert Fluture Future to folktale Result
- Folktale / fantasyland Maybe not working as expected
- migrating from data.task to folktale on handling rejection
- Can `Either` types be transformed to `Task` types?
- Immutablejs within plain objects - Monads
- IO as First In Composition Chain
- How to apply properties of an object to functions?
- Nested Validations With Folktale
- Handling forking on different levels of Tasks
- chaining (or mapping) Task containing a single data array to an array of Tasks
- fantasy-land confusion on ap method signature
- What is Folktale's Future for?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Ok, I feel like a fool. I read the linked article again and saw that it's not about performance, but to avoid confusion as to when data passed is immutable or a pojo. Here's the relevant section from the article
http://jlongster.com/Using-Immutable-Data-Structures-in-JavaScript