mcollina / mcollina/msgpack5

be able to require only the decoder for browserfy/webpack usage

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

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
499
Forks
77
PR merge metrics
No merged PRs in 30d

Description

It would be great if I could only require the decoded making msgpack lighter on the browser when using browserfy/webpack.

I use msgpack5 with React+Flux+yahoo/fluxible to serialize the app context and msgpack5 on the client to decode it.

Thanks

Contributor guide

Open the contributing guide

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.

Research direction

Start by tracing the package entry point used by browserify/webpack and the decoder path used by the React client. Determine how a decoder-only import can be exposed without pulling in encoding code, then verify that the client can decode the app context with the lighter bundle.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react, webpack
Domain
frontend, web-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.