-
-
Notifications
You must be signed in to change notification settings - Fork 324
Communicate Javascript console output via Python logging #890
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
Comments
As noted in the linked comment, the messaging scheme (as it stands today) only anticipates a message routing system. It would be useful to write up a task for actually implementing that routing system since this issue would depend upon it. |
@rmorshea This issue has reminded me that we probably want to flesh this out soon. It's currently confusing to new users that |
Yup. I actually completely forgot about that. |
Uh oh!
There was an error while loading. Please reload this page.
Current Situation
Javascript warnings and exceptions are currently not visible within the Python console. This feels fairly fragmented, as Python developers won't expect to check the client side console for warnings/errors.
Proposed Actions
By using our new messaging schema, all client-sided console output should be redirected to the server and logged the within the Python console.
This should only occur when ReactPy is in debug mode.
Related:
The text was updated successfully, but these errors were encountered: