JavaScript for Line of Business Applications
596.1K views | +0 today
Follow
JavaScript for Line of Business Applications
Keeping track of current JavaScript Frameworks that help design your clientside Business Logic Layers.
Curated by Jan Hesse
Beam to my Inbox:
Your new post is loading...
Your new post is loading...

Popular Tags - Filter using the Funnel

Current selected tags: 'AngularJS', 'functional programming'. Clear
Scoop.it!

Boost the Performance of an AngularJS Application Using Immutable Data

Boost the Performance of an AngularJS Application Using Immutable Data | JavaScript for Line of Business Applications | Scoop.it

A react component gets rendered the same way when it receives the same input parameters and it has the same state (if you implement it properly). React even provides the PureRenderMixin, which can make the “pure component” rendering even faster!

React is awesome, there are no two opinions. I’m also huge AngularJS fan. A few years ago I wrote the first AngularJS Style Guide“AngularJS in Patterns”AngularAOP and a few other AngularJS modules/components/examples, which got popular. So I started wondering whether I can use the same idea of immutability of the model in AngularJS, at least for accelerating the data-binding watchers.

No comment yet.
Scoop.it!

Better Support for Functional Programming in Angular 2

Better Support for Functional Programming in Angular 2 | JavaScript for Line of Business Applications | Scoop.it

In this blog post I will talk about the changes coming in Angular 2 that will improve its support for functional programming.


Using a mutable domain model goes against our goal. Say we have a mutable domain model that backs up my component. And the component updates the model. Some other component, somewhere else, that happened to point it, will be updated.

Instead we should model our domain using dumb data structures, such as record-like objects and arrays, and transform them using map, filter, and reduce.

No comment yet.