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

Experimental synchronous deep rendering #40

Merged
merged 5 commits into from
Jun 21, 2018

Conversation

abertelle
Copy link
Contributor

Adds option to activate synchronous rendering of components

@pago
Copy link
Contributor

pago commented Jun 11, 2018

@abertelle You'll need to modify the bundlesize limit (within the package.json) to be able to merge this change.

@coveralls
Copy link

coveralls commented Jun 12, 2018

Pull Request Test Coverage Report for Build 44

  • 4 of 5 (80.0%) changed or added relevant lines in 1 file are covered.
  • 2 unchanged lines in 1 file lost coverage.
  • Overall coverage increased (+0.03%) to 89.32%

Changes Missing Coverage Covered Lines Changed/Added Lines %
packages/melody-idom/src/renderQueue.ts 4 5 80.0%
Files with Coverage Reduction New Missed Lines %
packages/melody-idom/src/renderQueue.ts 2 46.22%
Totals Coverage Status
Change from base Build #26: 0.03%
Covered Lines: 2048
Relevant Lines: 2177

💛 - Coveralls

@@ -80,7 +81,7 @@ describe('component', function() {
data => {
component(Component, 'test', data);
},
{ text: 'Hello' },
{ text: 'Hello' }
Copy link
Contributor

Choose a reason for hiding this comment

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

Why are all trailing comma removed in this file?

Copy link
Contributor Author

@abertelle abertelle Jun 12, 2018

Choose a reason for hiding this comment

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

Most probably I had a different config for Prettier on the Melody workspace and I didn't see that.
Shall i change it back?

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes please.

Copy link
Contributor

Choose a reason for hiding this comment

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

I realized that we changed the comma rule to the es5 because of build process at some point mosty likely due to a CI change. It may not be his fault.

Copy link
Contributor

@efegurkan efegurkan left a comment

Choose a reason for hiding this comment

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

I also want to suggest not doing prioritization according to this flag as well. @pago @krakenfuss ?

As suggested please revert the prettier changes.

@efegurkan
Copy link
Contributor

We can merge this looks good @jamesb3ll @abertelle

@jamesb3ll
Copy link

LGTM 😃

@efegurkan efegurkan merged commit 0d170a2 into master Jun 21, 2018
@efegurkan efegurkan deleted the synchronous-deep-rendering branch August 15, 2018 07:19
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

6 participants