-
Notifications
You must be signed in to change notification settings - Fork 41
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
feat: better support for development #1665
Comments
My way to reproduce some nasty behaviour in react app
I observe multiple errors which bubble up with various frequency
|
Moving to priority due to it being highly requested and important to overall satisfaction. |
Weekly update:
|
Weekly update:
|
Lately I've been doing a lot of experiments with NextJS and didn't face any critical problems with So the only leftover is errors with WebSocket connection that is not possible to remove as it originates in a low level of browser API and the only mitigation to this I see is an information statement in developer console to prevent consumers from chasing ghosts investigating why WebSocket fails for them. |
This is a support request
Problem
This issue is rather generic and includes two things to address: better development compatibility and suppression of useless errors.
I saw these problem occurring during
basic flow
:lightPush
messages;filter
subscriptions;store
messages;waku relay
and send / get some messages;Better development
During hackathon many builders complained about errors that were bothering their development routine. It was happening due to random errors being thrown and either not caught or being caught but propagated up the stack. When such a thing happens - build in development mode show special screen with message of the error.
This problem can be addressed by creating basic apps and running
basic flow
create-react-app
;Useless errors
This one is quite generic but we should start investigating it and addressing.
Problem here is that in console there are many errors that are misleading people new to project (see below).
TODO:
basic flow
and check errors in console;Proposed Solutions
Useless errors should be suppressed and not shown to console or caught by
js-waku
if they originate from beneath.This should prevent development mode showing error screens when not needed and will help novice people not getting lost in understanding what is a real error and what is not.
The text was updated successfully, but these errors were encountered: