L
L
LB7772015-03-23 12:35:29
React
LB777, 2015-03-23 12:35:29

What are you doing merge in react.js?

react.js has react/lib/merge , which is used when creating storage in flux. I also saw in the examples that underscore.js is used for the merge place.
It seems that from the context it is clear what they are doing, but I have not seen a detailed description of this method anywhere in flux.
Please tell in detail what merge or underscore does in flux =)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
1
123 123, 2015-03-23
@LB777

`merge` joins two objects, like `Object.assign`. A Flux Store is an EventEmitter functionality connected to your Store functionality. Example .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question