Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(👻): extract cache behavior with haunted-polymer hook #120

Merged
merged 3 commits into from
Jun 18, 2020

Conversation

nomego
Copy link
Contributor

@nomego nomego commented Jun 16, 2020

Start with a small hook to extract as much of the caching as
possible.
Also fixes a test suite setup.

Signed-off-by: Patrik Kullman [email protected]

@nomego nomego requested review from cristinecula, megheaiulian and a team June 16, 2020 21:05
@nomego nomego force-pushed the haunted-polymer-cache branch from 8c1541f to 50ccfb0 Compare June 16, 2020 21:07
@nomego nomego changed the title feat(👻): wip: extract behavior hooks with haunted-polymer feat(👻): extract behavior hooks with haunted-polymer Jun 18, 2020
@nomego nomego marked this pull request as draft June 18, 2020 07:18
@nomego nomego changed the title feat(👻): extract behavior hooks with haunted-polymer feat(👻): wip: extract behavior hooks with haunted-polymer Jun 18, 2020
Patrik Kullman added 2 commits June 18, 2020 09:20
Start with a small hook to extract as much of the caching as
possible.
Also fixes a test suite setup.

WIP to move to haunted-polymer from cosmoz-utils if merged.

Signed-off-by: Patrik Kullman <[email protected]>
@nomego nomego force-pushed the haunted-polymer-cache branch from 50ccfb0 to 28cd82c Compare June 18, 2020 07:23
@nomego nomego changed the title feat(👻): wip: extract behavior hooks with haunted-polymer feat(👻): extract behavior hooks with haunted-polymer Jun 18, 2020
@nomego nomego changed the title feat(👻): extract behavior hooks with haunted-polymer feat(👻): extract cache behavior with haunted-polymer hook Jun 18, 2020
@nomego nomego marked this pull request as ready for review June 18, 2020 07:24
@@ -23,6 +23,10 @@ import '@neovici/cosmoz-bottom-bar/cosmoz-bottom-bar-view';
import { translatable } from '@neovici/cosmoz-i18next';
import '@neovici/cosmoz-page-router/cosmoz-page-location';

import { hauntedPolymer } from '@neovici/cosmoz-utils';

import { useCache } from './lib/cache.js';
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's a good convention to include use- in the filename: use-cache.js

@cristinecula cristinecula merged commit 126aeac into master Jun 18, 2020
@cristinecula cristinecula deleted the haunted-polymer-cache branch June 18, 2020 10:01
github-actions bot pushed a commit that referenced this pull request Jun 18, 2020
# [3.4.0](v3.3.3...v3.4.0) (2020-06-18)

### Features

* **👻:** extract cache behavior with haunted-polymer hook ([#120](#120)) ([126aeac](126aeac))
@github-actions
Copy link

🎉 This PR is included in version 3.4.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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.

2 participants