-
Hello.
Quite often while working with `ImmutableJS` data structures and other immutable libraries people forget that values are immutable:
They can accidentally write:
```
obj.set('name', 'newName'…
-
Hi guys,
i'm trying implement redux immutable in my project but i got stuck at connect mapStateToProps because the state returned from redux is Map object from ImmutableJS and i can not access user…
-
I really must be missing something, maybe someone can clue me in.
Here is what I mean:
``` javascript
var a = new Baobab({ b: 1 })
var c = a.set('b', 2)
a.get('b') // I expected 1 but got 2!
c // I …
-
# Roadmap
## Bundling
- [ ] Double check that tree shaking is working properly
- [ ] Ensure Flow types are stripped in the production bundle
- [x] Ensure Ramda methods are imported explicitly, wit…
-
I have an issue when using immutableJS list.
```
++ iterable.length has been deprecated, use iterable.size or iterable.count(). This warning will become a silent error in a future version.
++ Possib…
-
Let's take this code:
``` jsx
const mySuggestions = Immutable.Map();
...
return );
```
This code does not work. I got:
```
app.js:9386 Warning: Failed prop type: Invalid prop `suggestions` of typ…
-
# Immutability
* [x] [ImmutableJS][immutable-js] 作者 [Lee Byron][]
* Redux Documentation:
* [x] Immutable Data: http://redux.js.org/docs/faq/ImmutableData.html
* [x] Using ImmutableJS: http…
-
赢财富(微信版)目前存在的性能问题:
关于文件加载和代码逻辑的性能问题,以及数据管理的性能问题,这里暂不讨论。这里,主要讨论react的渲染性能。
这里讨论的react的渲染性能,对于我们目前的赢财富,我暂时没有考虑到比较全面的解决办法,但是也有一点不成熟的想法。下面我将从产生性能问题的原因开始进行说明。
要说明为什么会有渲染性能问题,需要明白react是怎么执行渲染操作的。re…
ghost updated
7 years ago
-
There are a lot of things in the boilerplate that should be upgraded and a lot of minor changes that we always implement after starting a new project that we should just include in the boilerplate.
…
-
* 什么是 Immutable
- 不可变的,即创建后不可被改变
* 为何要使用 Immutable
- JS 带有引用,相互引用会产生很多问题
* Immutable data structures
- 依次拷贝消耗时间,采用相应数据结构(tire)利用空间换时间,提升效率
immutablejs 成本/开发痛点
[https://medium.com/@AlexF…