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

$mol_offline refactor, disable cache on page reload via dev server #710

Open
wants to merge 61 commits into
base: master
Choose a base branch
from

Conversation

zerkalica
Copy link
Collaborator

No description provided.

offline/offline.web.ts Outdated Show resolved Hide resolved
offline/offline.web.ts Outdated Show resolved Hide resolved
offline/offline.web.ts Outdated Show resolved Hide resolved
offline/offline.web.ts Outdated Show resolved Hide resolved
offline/offline.web.ts Outdated Show resolved Hide resolved
offline/offline.ts Outdated Show resolved Hide resolved
offline/offline.web.ts Outdated Show resolved Hide resolved
offline/offline.web.ts Outdated Show resolved Hide resolved
offline/offline.web.ts Outdated Show resolved Hide resolved
offline/offline.web.ts Outdated Show resolved Hide resolved
worker/worker.web.ts Outdated Show resolved Hide resolved
service/host/host.web.ts Outdated Show resolved Hide resolved
service/plugin/plugin.ts Outdated Show resolved Hide resolved
fetch/fetch.ts Outdated
Comment on lines 83 to 85
export function $mol_fetch_request_clone(this: typeof $, original: Request, options?: RequestInit) {
return new Request(original, options)
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Хотя, сделать и над реквестом обёртку возможно не плохая идея. Есть ил ещё какая полезная функциональность для реквестов помимо клонирования?

fetch/fetch.ts Outdated
export function $mol_fetch_request_clone(this: typeof $, original: Request, options?: RequestInit) {
return new Request(original, options)
}
$.$mol_fetch_request_clone = $mol_wire_sync($).$mol_fetch_request_clone
Copy link
Contributor

Choose a reason for hiding this comment

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

Опять у тебя простое клонирование реквеста тянет за собой реактивность.

Copy link
Contributor

Choose a reason for hiding this comment

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

А какое отношение реквест вообще имеет к фетчу?

notify/notify.ts Outdated
}

static show( info: $mol_notify_info ) {
this.$.$mol_service_worker.send(info)
Copy link
Contributor

Choose a reason for hiding this comment

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

send посылает любые сообщения? Если так, то одного $mol_notify_info тут мало. Если только нотификации, то send - не удачное название.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants