NullVoxPopuli / ember-resources

An implementation of Resources. Supports ember 3.28+
https://github.com/NullVoxPopuli/ember-resources/blob/main/docs/docs/README.md
MIT License
91 stars 37 forks source link

Does RemoteData still exist? #1125

Closed MichalBryxi closed 5 months ago

MichalBryxi commented 5 months ago

Trying to follow this tutorial and bumping into following error:

Module not found: Error: Can't resolve './helpers/RemoteData' in ...

When trying:

{{#let
  (RemoteData
    "..."
  )
  as |request|
}}
  isLoading:
  {{request.isLoading}}
  data:
  {{request.value}}
{{/let}}
NullVoxPopuli commented 5 months ago

It does still exist! Tho it moved here:

https://reactive.nullvoxpopuli.com/functions/remote_data.RemoteData.html

That tutorial chapter should be updated to use the new import path, can you open an issue over there? (Or a PR?) Thanks!

MichalBryxi commented 5 months ago

Wanted to help out, but I'm bamboozled now. The path in the tutorial seems correct?

Screenshot 2024-04-29 at 21 24 26

But the blame seems to be changed a while ago?

IDK, the status quo seems correct to me...

NullVoxPopuli commented 5 months ago

I may have updated it :sweat_smile: