Native Web Socket Support

Open
#957 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
20/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
typescript

Research direction

The issue names no files, tests, or entry points. Start by locating the current SocketCluster v14.3.2 integration and its socketcluster-client dependency, then assess the TypeScript type imports and deprecated transitive dependencies. Done means remote DevTools communication works without that third-party library and no longer introduces the reported Node type pollution.

Written by the indexing model from the issue text.

Description

feature

In the current iteration of this library SocketCluster is used, particularly v14.3.2
At runtime this library works beautifully, however at design time I have run into a bit of trouble.

Specifically, socketcluster-client is the source of two warnings in my npm install.

npm WARN deprecated uuid@3.2.1: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.

And the types for socketcluster-client import node libraries like consumable-stream and ws which have /// <reference types="node" /> in the files.
This causes any import of those types to pollute the global type space with a bunch of node types.

The first problem is ignorable, and the second problem can be worked around by just making my own types for socketcluster-client.
That said, these problems don't seem like they are going to be resolved any time soon.

It would be nice if I didn't need to use this third party library to interact with the remote dev tools.
My integration could have a lot few dependencies and a lot less design time issues.

Dominant language
TypeScript
Stars
14.4k
Forks
1.2k
Avg merge
1d 6h
Merged PRs (30d)
20

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 reduxjs/redux-devtools

All issues in reduxjs/redux-devtools

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.