-
Notifications
You must be signed in to change notification settings - Fork 553
server-side rendering support #44
Comments
@jamnanlaw I have a fix ready to sync which fixes the two issues you pointed out :) with this change the table renders from the server great, the problem we then have is that react cannot mount onto the rendered HTML since its renders differently based on the environment :(, this is the main culprit: https://github.com/facebook/fixed-data-table/blob/master/src/vendor_upstream/dom/translateDOMPositionXY.js#L23-L45. We will probably need to change the code to always render with So a long answer but yes we intend to support server rendering :) |
Initial work for server rendering #44
Has there been any update on this? Server rendering is working, but throwing warnings in the browser:
|
Thank you for reporting this issue and appreciate your patience. We've notified the core team for an update on this issue. We're looking for a response within the next 30 days or the issue may be closed. |
Is there any update on this? I have same problem as @grahamb |
Sorry no we haven't made any progress here, this just isn't a use case we have needed. The solution described above is still valid and shouldn't be too hard if someone wants to have a go at solving this. |
@AlesJiranek @grahamb @jamnanlaw we've merged the PR for this into our fork at https://github.com/schrodinger/fixed-data-table-2 and should have the fix up on npm within a week. |
Currently the code has some dependencies on the client-side DOM, e.g.
Is there a plan to make this component support isomorphic application?
Thanks.
The text was updated successfully, but these errors were encountered: