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 Server Side rendering support using suggested PR from fixed-data-table #12

Merged
merged 4 commits into from
Jun 8, 2016

Conversation

wcjordan
Copy link
Member

@wcjordan wcjordan commented Jun 8, 2016

Description

have some state that tells us we are in the first pass and always render positions with left and top (since we know all browsers support this but not translate pos), then on any other render from there we can use the fancy translate3d stuff

Motivation and Context

Server side rendering currently produces different markup than client rendering
#11

How Has This Been Tested?

I haven't tried this out. I'll verify everything still works with client side rendering.
We should put together a server side example / sandbox for testing

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.

*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
Copy link
Contributor

Choose a reason for hiding this comment

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

Needs to be updated to our new copyright

/**
 * Copyright Schrodinger, LLC
 */

Copy link
Member Author

Choose a reason for hiding this comment

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

done

@KamranAsif
Copy link
Contributor

KamranAsif commented Jun 8, 2016

LGTM after we verify this works with example provided here: #11

@wcjordan
Copy link
Member Author

wcjordan commented Jun 8, 2016

Verified it fixes the example. Also verified it still works as expected in LiveDesign.
Have you been running through any other tests / samples to avoid regressions?

@KamranAsif
Copy link
Contributor

I spin up the dev server npm run sit-dev-server and play around with some of the examples to make sure everything still works

@wcjordan
Copy link
Member Author

wcjordan commented Jun 8, 2016

Done, everything looks good

@wcjordan wcjordan modified the milestones: 0.6.3, 0.6.4 Jun 8, 2016
@wcjordan wcjordan merged commit f3e284d into schrodinger:master Jun 8, 2016
@wcjordan wcjordan deleted the feature/server-side-issue branch June 21, 2016 04:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants