Skip to content
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

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

Open
peleteiro opened this issue Jan 29, 2015 · 3 comments
Open

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

peleteiro opened this issue Jan 29, 2015 · 3 comments

Comments

@peleteiro
Copy link

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

@mcollina
Copy link
Owner

would you like to submit a PR for this? I'm really low on bandwidth at the
moment.
Il giorno gio 29 gen 2015 alle 16:03 Jose Peleteiro <
[email protected]> ha scritto:

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


Reply to this email directly or view it on GitHub
#11.

@peleteiro
Copy link
Author

How would you like to have it?

Split it in two components, one for encoding other for decode, or create a new one only for decoding?

@mcollina
Copy link
Owner

split it in two files, encode.js end decode.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants