You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently on a user’s first connection, their account is made. If they make two requests in quick succession (as is typical during a normal page load), this leads to two accounts being created at the same time.
We need some strategy to avoid this dual-account creating.
Demonstrating the result I'm getting using Geddy's current association-value querying.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
A friend recently asked me for some help with jQuery. He wanted to know how to store data on html elements from the JSON payload he was receiving. His initial approaches were much like some of my own early approaches, storing data on elements using data attributes, and then updating those accordingly.
I've since come to learn that these are considered bad practices, and for good enough reasons. Sure, it can work, but it will be slow, and difficult to implement, and if your UI gets very complicated, you'll find yourself juggling multiple sources of truth in your application.
There are several approaches available to the modern web app developer, and I'm sorry I don't believe I'm a grand enough authority to choose a specific one for a project that isn't mine, but I am aware of enough different approaches I think I can get you oriented with what to look for in a good solution.
How to filter an Ember.js array based on an asynchronous relationship?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Greg wanted to know what was up with importing modules in Ember-CLI. And I admit, this can be a confusing process, and I still remember being frustrated and confused.
To be honest I'm not an expert on the internals, so I can't really lay out the step by step build process, although as the Ember-Cli docs say, it relies on the ES6 Module Transpiler to do the heavy lifting.
I'm going to focus on some quick and easy how-tos:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I'm going to start with my usual rhetorical shennanigans, which is to emphasize that nothing is black and white, it's a continuum, etc. I'll even go so far as to say that I completely, 100% agree with your thesis in a very extreme way, that behavior should always be tested instead of implementation, I will just then add
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters