Code Monkey home page Code Monkey logo

Comments (6)

locks avatar locks commented on July 30, 2024 5

Thanks for the discussion everyone, I'll look into it soon!

from ember-localstorage-adapter.

jacobq avatar jacobq commented on July 30, 2024 4

@locks, any chance you'll have time to look at this again soon? With the latest ember-cli release (I'm using 3.1.3) there seem to now be louder warnings, e.g.:

DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: my-app -> ember-localstorage-adapter -> ember-cli-babel

from ember-localstorage-adapter.

jacobq avatar jacobq commented on July 30, 2024 2

FWIW, I was recently working on a simple addon (just added a single helper) and found it much easier to create a fresh addon and migrate the actual addon & test code than to try to upgrade all the dependencies and get the addon boilerplate to match the latest. I think that strategy might still work well for a more complex addon as well.

I also wouldn't mind waiting a little longer if it meant updating to an ember-cli version that doesn't rely on bower at all. (Looks like this is the case in 3.0.0-beta.2.

Update: For those who may stumble upon this later, check out ember-cli-update instead!

from ember-localstorage-adapter.

joestein216 avatar joestein216 commented on July 30, 2024 1

@jacobq tried creating a pull request for this, had to update a few things to get tests to pass locally, but failed in travis due to PhantomJS issues. What about trying to update to ember 2.16 LTS and start from there?

Here's the pull request that failed, I figured I'd try this small change and see if it can pass:

#222

@locks, what do you think about me trying again from an update to ember 2.16?

from ember-localstorage-adapter.

joestein216 avatar joestein216 commented on July 30, 2024

@jacobq not sure what your needs are, but I was trying this as-is for a new requirement for one part of an app that just needed to persist to localstorage, but I wanted to model it with relationships to other already integrated models in the app...

The adapter and serializer provided by:

https://github.com/funkensturm/ember-local-storage

Worked great with just changing the adapter and serializer files.

Still willing to try to update this addon if it will benefit folks...

from ember-localstorage-adapter.

jacobq avatar jacobq commented on July 30, 2024

@joestein216 thanks for the comment. I am using ember-localstorage-adapter as the entire persistence layer of an electron application; that's where all of the data is being saved to / loaded from. If I absolutely have to then I will switch to something else, but for now it is working, and I'm hoping that this will be maintained so no change is needed. (Seems like I spend a lot of time dealing with "distractions" / dependencies / boilerplate rather than my actual app.)

Any idea why there is more than one implementation of what seems like "the same thing" here? In other words, how should someone choose between ember-localstorage-adapter and ember-local-storage?

from ember-localstorage-adapter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.