matrix-org / matrix-org/matrix-js-sdk

Export a proper public interface instead of a monolithic chunk

Open
#4,339 2 comments 0 reactions 0 assignees View on GitHub
A-Developer-Experience T-Task
Dominant language
TypeScript
Stars
2.2k
Forks
704
Avg merge
1d 20h
Merged PRs (30d)
40

Description

For cases where a consumer only needs a few functions instead of the entirety of `matrix`, like in https://github.com/matrix-org/matrix-react-sdk/pull/12871 - they shouldn't have to consume 1mb of JS to do simple things.

This may change the project more towards a library than an SDK though, and warrants team discussion.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the issue context and the referenced matrix-react-sdk pull request, then inspect how matrix-js-sdk currently exposes its bundled functionality. The work is done when the team has defined and implemented a supported public interface that lets consumers use selected functions without consuming the entire bundle.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.