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

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

Merged
merged 8 commits into from
Jan 15, 2020

Conversation

SanderElias
Copy link
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
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