The latter hasn’t been updated in a while, and the former seems to have storage of simple values as the primary use case, the storage of models secondary. I’m sure I could get help on Slack eventually. But as a smaller Ecosystem it’s harder to find existing answers on those.
-
-
Replying to @CodingItWrong @wycats
Of course, you can’t control the size of your ecosystem. But in React I found https://github.com/rt2zz/redux-persist … and it seems pretty active. That’s a tangible experience for me in the last few days re. ease of adopting local storage
2 replies 0 retweets 0 likes -
Replying to @CodingItWrong
What featured of Ember Data did you find you needed when working with local storage. I bet we could do a better job giving guidance to adapter authors on best practices for making the code work idiomatically.
1 reply 0 retweets 0 likes -
Replying to @wycats
Tbf this was just for a hobby project just to see if I could get an Ember app running offline, so not a realistic case. For ember-local-storage it’s the fact that it focuses first on object and array storage, and models are further down and less emphasized. Some details of (cont)
1 reply 0 retweets 1 like -
Replying to @CodingItWrong @wycats
(cont) getting it working were not clear, to me at least
1 reply 0 retweets 0 likes -
Replying to @CodingItWrong
Curious what was stopping you from using local storage directly in model hooks etc.
2 replies 0 retweets 0 likes -
Replying to @wycats @CodingItWrong
Reading the docs on https://github.com/rt2zz/redux-persist … Which examples were the most "copy-pastable" from the perspective of just quickly getting off the ground. There's a lot of warnings about config, but I'm guessing you found an example you could start with and ran with it?
1 reply 0 retweets 0 likes -
Replying to @wycats
The Basic Usage section covered my needs, which makes sense because all I’m doing is storing an array of trivial one-field objects. Need to run to a meeting but I would be happy to dig into this more, if you think this hobby project situation provides helpful ecosystem insight!
1 reply 0 retweets 1 like -
Replying to @CodingItWrong
I think that hobby projects teach us a ton about what's important for conventions, so I'd love to dig in more.
1 reply 0 retweets 0 likes -
Replying to @wycats
For sure! Maybe I could do a brief writeup of the overall experience? Maybe I can share it privately b/c I don’t want to be publicly critical of add-on authors.
2 replies 0 retweets 1 like
-
-
Replying to @wycats
Alright, I’ll write something up! Would an Ember slack be a good place to share it? I just don’t want to blast it out on public Twitter.
0 replies 0 retweets 0 likesThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.