marcuswestin / store.js

Cross-browser storage for all use cases, used across the web.
MIT License
14.01k stars 1.33k forks source link

Usage guide needs improvement #281

Open ensemblebd opened 6 years ago

ensemblebd commented 6 years ago

Just saying. Including the legacy script or the everything script, and store is undefined. RequireJS can't find it without explicitly specifying the context, unless you happen to throw the project in the root of your website which would be highly strange.

I've spent 30 minutes just trying to figure out how to use this damn thing. Incredibly frustrating. Wish I could say it was a breeze to utilize this, but it's not.

Just curious if anyone else has had a positive experience with installation? Or is it just me.

pavittarx commented 3 years ago

Indeed, I too have issues while exploring documentation. For example, the guide to use Expire pluging, simply sends you to the tests written for testing plugins.

yellow1912 commented 3 years ago

@pavittarx For expire, I'm not sure if we have to run removeExpiredKeys or not. Have you found out?