Communicate Javascript console output via Python logging

Open
#890 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript, python
Domain
full-stack

Research direction

No files or tests are named. Start by reading the new messaging schema discussed in PR #881 and the context in related issue #346; trace how client-side console output could reach the server. Done means JavaScript warnings and exceptions appear in the Python console only when ReactPy debug mode is enabled.

Written by the indexing model from the issue text.

Description

priority-3-low
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:

  • #346
Dominant language
Python
Stars
8.1k
Forks
332
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from reactive-python/reactpy

All issues in reactive-python/reactpy

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.