Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

Commit

Permalink
Merge pull request #1304 from zhouyaoji/doc_pageData_potential_issue
Browse files Browse the repository at this point in the history
[doc] Added potential issue that is mentioned in GH issue #1234.
  • Loading branch information
Joe Catera committed Dec 9, 2013
2 parents aa10413 + 60eb882 commit a4a4f85
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/dev_guide/topics/mojito_data.rst
Expand Up @@ -534,6 +534,15 @@ data. Also, if your data model contains a lot of information, the payload of the
will negatively affect performance and security as data is transmitted back and forth
between the client and server.
Also, the ``pageData`` object is not preserved during RPC calls, meaning
that the object is not passed between the client and server when making tunnel
requests. This is a limitation because Mojito can't predict the size of ``pageData``,
so it's not possible to resolve conflicts between what is returned from a tunnel request
and what was potentially changed on the client at the page level.
If you want to preserve the state during RPC calls, we recommend you use the ``data`` object,
which is more self-contained per mojit instance, although it does not necessarily mean you will
not have conflicts.
.. _mojito_data_sharing-data_addon:
Data Addon
Expand Down

0 comments on commit a4a4f85

Please sign in to comment.