enigma.js
enigma.js copied to clipboard
Feature: Optional (packaged) mixins
This is an idea we've been bouncing around internally for a while. The idea is that we deliver a npm package containing generally useful mixins that may be needed in many use cases. Below I'll outline some of the ones I've identified and suggest this package would contain.
Ideas/feedback welcome!
- [ ]
getObject
cache (#270) - [ ] Pending call cache (#271)
- [ ] Normalize
Doc
QIX API (#272) - [ ] Garbage collector/memory optimizer (#273)
- [ ] Access global/doc from generated APIs (#274)
- [ ] Generic object state (#275)
@peol I really like the idea of mixins, but please separate this in two different packages:
- helpers (Naming, Doc/Global in API,...)
- caching, garbage collection I really like the concept of the pure enigmaJS and we always do the caching in our code, because than we have 100% control
@peol for the topic naming: I really prefer if qlik would change the api of the engine and this mixings could be the backward compatible option, to don't break existing extensions,...
thanks @konne — the idea here is that these mixins are provided in an opt-in manner. It's not all or none so it's up to you what you want to use :)