question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Possible to use this outside of the ember framework?

See original GitHub issue

From what I can tell, it doesn’t appear that I can simply npm install this package and use it in a non-ember project like a typical npm package. Autotracking is exactly what I need for my project, but if my assumption is correct that I can’t use this (as-is) outside of ember, it looks like I may have to just grab the relevant bits (including @glimmer/tracking) and maintain a similar functionality myself.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
pzuraqcommented, Apr 3, 2020

Currently it isn’t setup that way, but this is a goal I have! The main thing we need to do is solidify the low-level APIs we want to expose from @glimmer/tracking in Ember first, then I think the path to releasing this in a stand-alone form would be pretty doable (mainly, just set it up to be consumable via standard webpack bundler).

0reactions
speiggcommented, Apr 3, 2020

Thanks for the tips, looks like memoizeTracked was recently added (I was looking for something like that a few days ago!).

Read more comments on GitHub >

github_iconTop Results From Across the Web

In theory, could it be possible to use Ember Components ...
I'm starting to notice beginners asking about trying to create apps that would best be built as an App with 1 route that...
Read more >
Accessing computed properties outside of their model in ...
I have an ember application with a model called users.js with associated controllers and routing. In my usersController.js , I have a function ......
Read more >
Ember.js - Wikipedia
Ember.js is an open-source JavaScript web framework that utilizes a component-service pattern. It allows developers to create scalable single-page web ...
Read more >
Ember.js Octane vs Classic Cheat Sheet
This guide is a cheat sheet for using Ember.js Octane. It doesn't cover everything, but it should get you started! PRs welcome at...
Read more >
The 8 Most Common Mistakes That Ember.js Developers Make
Ember.js is an awesome framework for building rich and powerful front-ends, favoring convention over configuration to make development a breeze.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found