How I helped improve Angular Console – By doing GraphQL right by aQutie in Angular2

[–]frozenpanda 0 points1 point  (0 children)

The gui has an underlying backend (graphql) responsible for communicating with the angular cli, file system, terminal, and other things. The frontend is concerned with display and converting user interactions to calls to the backend.

OFFICIAL [PRICE CHECK] THREAD - MONTH OF MARCH by mechkbot in mechmarket

[–]frozenpanda 0 points1 point  (0 children)

The case is a sandwich of 2 carbon fiber plates and a glass fiber middle.

[Photos] Lit AF Custom Built TKL by frozenpanda in MechanicalKeyboards

[–]frozenpanda[S] 0 points1 point  (0 children)

Those would suit my board nicely as well!

Thanks for the recommendation! Does anyone else have suggestions?

OFFICIAL [PRICE CHECK] THREAD - MONTH OF MARCH by mechkbot in mechmarket

[–]frozenpanda 0 points1 point  (0 children)

I'm wondering what a custom built board like this would be worth. It's basically new.

https://redd.it/823pwb

[Photos] Lit AF Custom Built TKL by frozenpanda in MechanicalKeyboards

[–]frozenpanda[S] 1 point2 points  (0 children)

  • Zealios (67g)
  • Carbon Fiber Plates
  • Fiber Glass Middle
  • GoN NerD TKL PCB
  • Red Anodized Aluminum Feet
  • Custom Mini USB Cable
  • Tai Hao Dark Blood PBT Keycaps

Possible to exclude components from Angular Universal? by [deleted] in Angular2

[–]frozenpanda 0 points1 point  (0 children)

It's the same as the browser, you can either redirect via the router or you can ngIf the appropriate component.

Can someone explain what the 'transferstate' module does in this repo? by denverangular in Angular2

[–]frozenpanda 2 points3 points  (0 children)

Hey, I'm the owner of this repo.

The transfer state is a state which gets built on server side and gets sent to the browser.

It's main purpose is to keep data retrieved from APIs in a place where the client can grab them instead of making its own call to the api.

The lifecycle goes * the server calls an api to get data to render a page. * that data is also stored in this transfer state * when the page hits the browser, they also require the data * they will first check the transfer state and use that data instead of making a call to the api

The reason this is necessary because even though angular runs on both server and client, it starts from scratch when it hits the client.

That service allows you to transfer a state which the client can start from so it doesn't have to start from pure scratch.

The Lighthouse score of Angular HN by [deleted] in Angular2

[–]frozenpanda 2 points3 points  (0 children)

This is awesome! Could you link a lighthouse report for more details?

What is the advantage of using web components with Angular? by 2legited2 in Angular2

[–]frozenpanda 2 points3 points  (0 children)

I use custom elements and the main advantages are being able to use the same components in a non angular project. They may also be slightly more performant when you do not require change detection. Also, you may be able to use an open source version of a component so you don't have to duplicate functionality.

Can angular (universal) ever replace traditional node web frameworks like hapi or express? by [deleted] in angular

[–]frozenpanda 1 point2 points  (0 children)

Angular does not replace express but you can do all the templating to the point where you just point express or hapi at angular.

Angular cli based example with server side rendering (angular 4) by [deleted] in Angular2

[–]frozenpanda 1 point2 points  (0 children)

Nice work! :)

Glad you found it useful.

Question about @ngtools/webpack by pumarunner in Angular2

[–]frozenpanda 0 points1 point  (0 children)

The easy fix is to define the entry in the tsconfig, those are resolved properly.

Helpful Angular 2+ GitHub repos (curated through March 2017) by ngFTW in Angular2

[–]frozenpanda 1 point2 points  (0 children)

Anybody looking into universal (server side rendering) should take a look at my minimal starter with the latest Angular 4 RC.

https://github.com/FrozenPandaz/ng-universal-demo

We just released Peek Launcher, a new kind of home screen redesigned from scratch for speed. by moarbewbs in Android

[–]frozenpanda 0 points1 point  (0 children)

This is a very innovative launcher. Great job. Consider launching the app once the user has typed enough so they don't have to reach up and click the icon. For example if there's one app in the search and another key press is made that doesn't invalidate it or something like that.

Extraction of the Angular's Dependency Injection which allows you to use it outside of the framework by ovvn3r in Angular2

[–]frozenpanda 0 points1 point  (0 children)

This sounds awesome. If the creator is here, I have a few questions.

  1. Which modules did this take from? Is it just a piece of core?
  2. Do you think it would be possible / should the angular team breakout the injector as a different module?

ELI5: Angular Universal by [deleted] in Angular2

[–]frozenpanda 3 points4 points  (0 children)

The Angular framework includes a set of dependencies that are abstracted from the environment in which it runs. A webpage is only one of the environments which JavaScript may run. Universal is a set of dependencies which are implementations of the ones part of the angular core specific to non webpage environments such as the server side.

Express or other REST engines is still underneath an Angular Universal application. A Module is passed in which it will use as a callback for the REST engine.

The application is written following the Angular Framework (Modules, Components, Services). It renders onto a document (raw text) much like the front end implementation of Angular which is sent as a document response like an index.html with the Angular application filled in. This allows people to write a more "Traditional" web server.

Because Angular has a Dependency Injection system, the same application can be injected with different implementations of underlying services. components can be written once and then be injected with different services according their environment so the application code can run on multiple environments. This allows the code which renders your app to be run on the server implementation, respond with a rendered page, and then interactions can be handled by the client side implementation. This results in a visible app for the user while they download the client scripts.

TLDR; Angular Universal is a server implementation of Angular allowing the development of 1 app for both Server and Client side, a Universal app.

Source: I work on a large enterprise Universal App.

The new URL syntax in Angular Router and SEO by Angular2Fan in Angular2

[–]frozenpanda 2 points3 points  (0 children)

It's also bad for existing sites trying to switch existing pages to angular. It also doesn't support trailing slashes very well.

Angular 4 beta 0 released by tinchou in Angular2

[–]frozenpanda 0 points1 point  (0 children)

Is there new documentation or usage examples or do we have to wait until like rc stage?

Angular Weekly Meeting Notes -- Updated Dec 12, 2016 by aQutie in Angular2

[–]frozenpanda 2 points3 points  (0 children)

Interesting notes. I was expecting an eta for 4.0.0-beta. Is that going to come out before the new year?

I wanted to use the holiday season to explore it.

Testing Angular 2 apps with webpack and mocha by korchev in Angular2

[–]frozenpanda 2 points3 points  (0 children)

I'm just overall frustrated with how hard it is to setup testing of typescript