Skip to content
This repository has been archived by the owner on Sep 25, 2019. It is now read-only.

Implement warnings for data that can't be serialized #1

Open
pirelenito opened this issue Jun 10, 2016 · 2 comments
Open

Implement warnings for data that can't be serialized #1

pirelenito opened this issue Jun 10, 2016 · 2 comments
Milestone

Comments

@pirelenito
Copy link
Member

  • nested props containing functions
  • functions in handler callback arguments
@xaviervia
Copy link
Member

So, there are two places where the user can try to send non-serializable data:

  1. In Scatter:
    • Any prop that is not a function or a JSON serializable value
    • In particular functions deep in the object tree could trigger a different warning (since they can be assumed to be handlers placed there by mistake)
  2. In Materialize:
    • When sending data back through a handler

Correct?

@xaviervia xaviervia assigned xaviervia and unassigned xaviervia Jun 18, 2016
@xaviervia xaviervia added this to the 1.0 milestone Jun 18, 2016
@pirelenito
Copy link
Member Author

Exactly!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants