Skip to content

fix(remove httpclientmodule): refactor to drop depedency on httpClien…#182

Merged
SanderElias merged 8 commits intomasterfrom
sander/removehttmlModuleFromlin
Jan 15, 2020
Merged

fix(remove httpclientmodule): refactor to drop depedency on httpClien…#182
SanderElias merged 8 commits intomasterfrom
sander/removehttmlModuleFromlin

Conversation

@SanderElias
Copy link
Copy Markdown
Contributor

…tModule

This refactor takes care of the httpClientModule, by replacing it with a fetchHttp from our own
making.

@aaronfrost I tested it true, but I a bit wary about the tranferstate in this one. Can you double-check before we merge this one?

…tModule

This refactor takes care of the httpClientModule, by replacing it with a fetchHttp from our own
making.
…intial page

update the tranferstate to prepare it for external JSON, and a little optimized flow
…d 301

read the index.html instead of the urls itself. Saves a round-trip to the server.
…_ routing

Make sure state is only emitted after routing has finished, to make sure the state doesn't get
transfered to the old page.
…g navigation

This makes sure the state doesn't get emmited before navigation is done.
with this, the getstate will _never_ emit a value **during** navigation. Only when navigation is
done, the state will be available.
Copy link
Copy Markdown
Contributor

@jorgeucano jorgeucano left a comment

Choose a reason for hiding this comment

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

LGTM

@SanderElias SanderElias merged commit 0929c2f into master Jan 15, 2020
@SanderElias SanderElias deleted the sander/removehttmlModuleFromlin branch January 15, 2020 13:18
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.

3 participants