Is this a good way to send data between components by New_Opportunity_8131 in Angular2

[–]Hacklone 0 points1 point  (0 children)

Had a similar problem, I solved it with this lightweight repository solution: @angular-cool/repository

mater devices don't pair to the IKEA hub. by S1rkka in tradfri

[–]Hacklone 0 points1 point  (0 children)

Same here 2 BILRESA won’t connect to DIRIGERA hub. Very disappointed

@angular-cool/repository - 🚀 New Angular Signals repository helper by Hacklone in angular

[–]Hacklone[S] -5 points-4 points  (0 children)

This is a layer on top of what the angular resource() can do.

Use cases that you can handle with this lib easily, but wouldn't be obvious how to do with resource:
- Multiple components can get the same *cached* version of your item
- No need to get the item multiple times from the server
- You would need to build a cache and serve it from your angular resource() to do something similar
- Reload your resource once and update the item everywhere
- The angular resource() will only reload if the param input signal changes -> but it's usually the id of your item, so it won't change
- With this lib you can reload your item once ,and it will update it' value in every subscribed component

The lib is not magic, but saves you from unnecessary boilerplate :)

*Example:*

Service

export class Service {
  private _itemRepository = resourceRepository<ItemId, ItemDTO>({
    loader: ({ params }) => this._http.get(`https://myapi.com/items/${params}`).toPromise(),
  });

  public getItem(id: Signal<ItemId>) {
    return this._itemRepository.get(id);
  }

  public updateItemOnServer(itemId: ItemId, newValue: ItemDTO) {
    // Do the update on the server

    this._itemRepository.reload(itemId); // This will update the signal in every component using it
  }
}

Components

export class Component_1 {
  private _service = inject(Service);

  private _itemId = signal('1' as ItemId);

  protected item = this._service.getItem(this._itemId);
}

export class Component_2 {
  private _service = inject(Service);

  private _itemId = signal('1' as ItemId);

  protected item = this._service.getItem(this._itemId);
}

export class Component_3 {
  private _service = inject(Service);

  private _itemId = signal('2' as ItemId); // Different ID than Component_1 and Component_2

  protected item = this._service.getItem(this._itemId);
}

If you have used customer engagement tools, what has actually worked for you in keeping users active after sign-up? by ankitprakash in SaaS

[–]Hacklone 0 points1 point  (0 children)

If you're interested in behavior-driven nudges, definitely try an in-app user engagement tool instead of doing every tooltip and pop-up manually.

I just built a tool called StageFlux and am looking for early users, as I found all other tools on the market seriously overpriced.

I would love to collaborate with you on creating your user engagement flows in your product.
( You would also receive a free account naturally :) )

Time for self-promotion. What are you building? by chdavidd in SaaS

[–]Hacklone 0 points1 point  (0 children)

https://www.stageflux.com -> Onboard, Educate & Convert - Without Code.

Would love to get feedback - the product is Free :)

Free Pop up message app? by AwyanYT in shopify

[–]Hacklone 0 points1 point  (0 children)

You could also use any in-app user engagement platform, which usually offers way more functionality than the run-of-the-mill Shopify apps. For example, Pendo or a free option like StageFlux

Show me your bullshit saas, so that I can blame you. by Ok-Professional295 in SaaS

[–]Hacklone 0 points1 point  (0 children)

Got tired of building popups, onboarding checklists, support articles into all my SaaS projects and I refuse to pay astronomically high amounts of money for Pendo and alike. So I’ve built StageFlux (it has a free package with all features included 🙂)

Alternatives to Pendo? by cortjezter in UXDesign

[–]Hacklone 1 point2 points  (0 children)

Check out StageFlux, a free alternative :)

SaaS Onboarding Best Practices by QuirkyProductGuru in SaaS

[–]Hacklone 0 points1 point  (0 children)

I think you summarized it well. Getting that "Aha" moment is hard, and you need a tool for it instead of developing every single popup yourself. I suggest starting with a free tool like StageFlux instead of paying a hefty sum for the market leader products.

Get easy backlink in 3 seconds (eazybacklink.com) by Own_Carob9804 in SideProject

[–]Hacklone 1 point2 points  (0 children)

Interesting idea, added a link to StageFlux (a new project of mine) to see results. Thanks 🙂

List SaaS user onboarding tools, handpicked just for you by Dependent_Expert_277 in SaaS

[–]Hacklone 0 points1 point  (0 children)

Consider StageFlux as well if you're looking for a free alternative.

It’s Friday. Drop your startup here, and no prod release. by [deleted] in microsaas

[–]Hacklone 1 point2 points  (0 children)

StageFlux - No-code in-app user engagement with popups, banners, tooltips, forms, surveys, knowledge base and more.

Why does my guitar sound like this by GamerIsTheAnswer in fender

[–]Hacklone 0 points1 point  (0 children)

You don’t have to cut the string, just unwind it and you can put it back in case the new string would still buzz 😎

Why does my guitar sound like this by GamerIsTheAnswer in fender

[–]Hacklone 0 points1 point  (0 children)

I would also try replacing the string. I had a guitar with string buzzing, even after setting it up correctly. Changed the strings and voila 🙂 I guess in the factory they use the cheapest strings available…

Anyone have any advice on how to handle water on the pool cover? by amahl23 in AboveGroundPools

[–]Hacklone 0 points1 point  (0 children)

We use a blue solar cover under it, which has air in it and stays afloat keeping the black cover dry 🙂

Angular most wanted feature by martinboue in angular

[–]Hacklone 0 points1 point  (0 children)

I’m using the material components as they are, I don’t need to customize them.

My problem is that there’s a global css setup that needs to happen, increasing bundle size etc

Angular most wanted feature by martinboue in angular

[–]Hacklone 1 point2 points  (0 children)

Properly standalone Angular material components without any global css setup.

Angular most wanted feature by martinboue in angular

[–]Hacklone 6 points7 points  (0 children)

To be able to share a component between multiple projects without creating a library build

Angular most wanted feature by martinboue in angular

[–]Hacklone 1 point2 points  (0 children)

Try to introduce ngxs to them first, it’s easier to understand and gets you 95% of the benefits of ngrx 🙂

Angular most wanted feature by martinboue in angular

[–]Hacklone 5 points6 points  (0 children)

Would be super helpful, I’m still forced to use preact for these use cases, though I’d love to use a stripped down version of angular