Skip to content

Feature/initial state fom observable js#7

Open
mrsoto wants to merge 2 commits intotaming-the-state-in-react:masterfrom
mrsoto:feature/initial-state-fom-observable-js
Open

Feature/initial state fom observable js#7
mrsoto wants to merge 2 commits intotaming-the-state-in-react:masterfrom
mrsoto:feature/initial-state-fom-observable-js

Conversation

@mrsoto
Copy link
Copy Markdown

@mrsoto mrsoto commented Jul 28, 2019

Hi,
I added support to initial values from the observer. React Class Components has two different and inconsistent ways to assign the state 👎. I implement a subscription to each phase using a shareReplay consuming first and all but first state depending on the life cycle hook method.

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.

1 participant