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

Adds rawMode to disable serializing localStorage values #26

Closed
wants to merge 2 commits into from

Conversation

TylerFisher
Copy link

We've been integrating cross-storage with a localStorage ecosystem that does not serialize its values; thus, we needed a way to use cross-storage that did not depend on serialization. This PR adds a configuration option to the client init called rawMode that will make getting/setting values not rely on serialization.

Another way to do this would be to use native ES6 classes and create a rawCrossStorageClient subclass.

See #21 for more.

@JacksonGariety
Copy link

+1

@eads
Copy link

eads commented May 31, 2016

Bump! Just wanted to check on this. NPR Visuals has been using it in production for several months now.

@awhitehouse104
Copy link

awhitehouse104 commented Jul 11, 2016

+1 for this.

Fyi you left a console.log floating in there.

@danielstjules
Copy link
Contributor

Thanks for the PR! I've replied to #21 I think what I'd rather see is the removal of serialization from cross-storage altogether

@danielstjules
Copy link
Contributor

Thanks again! :)

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

Successfully merging this pull request may close these issues.

None yet

5 participants