Skip to content

Implement memoization for the CKTransactionalComponentDataSource - #675

Closed
conradev wants to merge 1 commit into
meta:masterfrom
DeskConnect:transaction-memoization
Closed

conradev wants to merge 1 commit into
meta:masterfrom
DeskConnect:transaction-memoization

Conversation

@conradev

@conradev conradev commented Nov 3, 2016

Copy link
Copy Markdown

This is an updated version of #477 with tests, per #477 (comment)

@conradev

conradev commented Nov 4, 2016

Copy link
Copy Markdown
Author

Would you be able to give this a look @ocrickard?

@ocrickard

Copy link
Copy Markdown
Contributor

Alright, sorry for the delay, this isn't something that I think we should add. I'd like to reduce the interface of memoization in our core. Let me take a bit to do some more investigation, but my guess is we won't merge this in favor of moving up the calls into user-space.

@ocrickard

Copy link
Copy Markdown
Contributor

@conradev can you take a look at #678 and let me know if that would work for you instead? You just wrap your hierarchy at the root with a memoizing component, and it will work in whatever rendering context you use, legacy datasources, transactional datasources, hosting views, etc. so long as the scope tree is properly configured.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants