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

Fluxible router improve dehydration #672

Conversation

pablopalacios
Copy link
Contributor

@pablopalacios pablopalacios commented Nov 18, 2020

Same as #670

I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.

Besides avoiding unnecessary data to be sent to the client (given that
RouteStore currently doesn't need currentNavigate.route to
re-hydrate), we prevent browsers to break given that
currentNavigate.route.action and currentNavigate.route.handler may
contain server transpiled code that is not compatible with them.
@pablopalacios pablopalacios changed the base branch from master to fluxible-addons-react-1.x-dev November 18, 2020 20:08
@pablopalacios
Copy link
Contributor Author

@redonkulus here is the fluxible-router cherry-pick

Copy link
Contributor

@redonkulus redonkulus left a comment

Choose a reason for hiding this comment

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

Awesome thanks!

@redonkulus redonkulus merged commit 1dd1de4 into yahoo:fluxible-addons-react-1.x-dev Nov 18, 2020
@pablopalacios pablopalacios deleted the fluxible-router-improve-dehydration branch November 18, 2020 22:19
@pablopalacios pablopalacios restored the fluxible-router-improve-dehydration branch December 9, 2020 12:29
@pablopalacios pablopalacios deleted the fluxible-router-improve-dehydration branch May 13, 2021 09:18
pablopalacios added a commit to pablopalacios/fluxible that referenced this pull request Jul 17, 2021
…ahoo#672)

Besides avoiding unnecessary data to be sent to the client (given that
RouteStore currently doesn't need currentNavigate.route to
re-hydrate), we prevent browsers to break given that
currentNavigate.route.action and currentNavigate.route.handler may
contain server transpiled code that is not compatible with them.
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.

None yet

2 participants