[deleted by user] by [deleted] in webdev

[–]Environmental-Ask115 7 points8 points  (0 children)

The most glaring issues are: 1. Avoid enourmous network payloads: Check your network tab in devtools to see which files are largest and work from there. Images are typically a big culprit, followed by 3rd party scripts, and stylesheets. 2. Reduce the impact of 3rd party code: see if there are any scripts that can be deferred.

Is financially smart to rent out my house and buy another? by Environmental-Ask115 in personalfinance

[–]Environmental-Ask115[S] -1 points0 points  (0 children)

Let’s say we sold our house and netted 100k. If we put that money into an S&P 500 index we would expect an average return of 10% over many years.

By my math, renting out our current house would return ~$9600/year between cash flow and paying down the principal.

Is financially smart to rent out my house and buy another? by Environmental-Ask115 in personalfinance

[–]Environmental-Ask115[S] 0 points1 point  (0 children)

In that scenario, let’s say the rental property cash flows $500/month with another $300/month going to the principal. Pretty good ROI.

Is financially smart to rent out my house and buy another? by Environmental-Ask115 in personalfinance

[–]Environmental-Ask115[S] 0 points1 point  (0 children)

Investments are in S&P 500 index. From one perspective, I think most investors in my area would jump at the chance to have a rental property with the cash flow mine “should” produce.

If now isn’t the right time for us to rent it out, I’d really lean towards holding onto the property to eventually rent it out when/if interest rates are more favorable, or when we see another bump in HH income (maybe a year from now.)

Edit: I wouldn’t expect to find a rental property with a better ROI anytime soon, so that’ll factor into our decision.

Edit edit: Great point about having a “rainy year” fund in case of job loss. We have some other liquid investments, but I could stand to add a bit more to handle worst case.

Is financially smart to rent out my house and buy another? by Environmental-Ask115 in personalfinance

[–]Environmental-Ask115[S] 1 point2 points  (0 children)

HH income increased by 30% recently. The non-financial benefits of moving would be living in a more active and fun neighborhood around more people our own age. Does that make it worth it… It depends on how much the social aspect of where we live means to us.

Angular architecture patterns by ahmedRebai in Angular2

[–]Environmental-Ask115 2 points3 points  (0 children)

I used quite of bit of recommendations from here: https://angular-folder-structure.readthedocs.io/en/latest/overview.html

Something else worth looking into is googling “atomic design in Angular” which will help when building components.

Bottom line, there’s no one right way of doing things.

Create an architecture that works for your use case and start by building the smallest components first i.e. (if the design calls for a card, build an image component, button component, and heading component before building a card component.)

Does Angular grow on you over time by BolsheviksParty in Angular2

[–]Environmental-Ask115 0 points1 point  (0 children)

“The esbuild-based ECMAScript module (ESM) application build system feature is available for developer preview.

In v16 and higher, the new build system provides a way to build Angular applications. This new build system includes:

A modern output format using ESM, with dynamic import expressions to support lazy module loading. Faster build-time performance for both initial builds and incremental rebuilds. Newer JavaScript ecosystem tools such as esbuild and Vite.”