JavaScript for Line of Business Applications
596.2K 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

Scoop.it!

Isomorphic TypeScript, fetch, promises, ava and coverage

Isomorphic TypeScript, fetch, promises, ava and coverage | JavaScript for Line of Business Applications | Scoop.it

Writing an API client in JavaScript is a lot of work, you have to write one for Node.js and one for the browser. I found out a way to have both on the same codebase with the same API, all that with only changes to the build scripts. It’s called isomorphic code, and doing it with modern TypeScript isn’t easy, but it’s achievable.

TypeScript brings lots of advantages to the JavaScript world with almost mandatory typings. But TypeScript code is transpiled, and to play well with other libraries that aren’t originally written in TypeScript needs manually written type definition and some hacks to play well with other external tools, like code coverage and test frameworks.

No comment yet.
Scoop.it!

Understanding JavaScript’s async await

Earlier this week we took a look at new features coming in ES2016. Today we’ll learn about async / await.The async / await feature didn’t make the cut for …
No comment yet.
Scoop.it!

Unit testing with Jest: Redux + async actions + fetch

Unit testing with Jest: Redux + async actions + fetch | JavaScript for Line of Business Applications | Scoop.it
Recently, I’ve been writing an app with the React/Redux combo. It uses an external API and I decided to use a fetch polyfill in order to make my network requests. Following the Redux-way, I’ve used Async Action Creators in combination with redux-thunk. Here is how my action looks like:…
No comment yet.
Scoop.it!

Tic-Tac-Toe.js: redux pattern in plain javascript

Tic-Tac-Toe.js: redux pattern in plain javascript | JavaScript for Line of Business Applications | Scoop.it
There’s this thing going on in the Front-End Development community where everybody wants to re-write their applications to use React. Sorry…
No comment yet.
Scoop.it!

The Redux ecosystem

The Redux ecosystem | JavaScript for Line of Business Applications | Scoop.it

Redux & React are currently mainstream technologies in front-end. Every self-respecting front-end developer knows this fact and tries to dive into them to understand what they are and how to deal with them. Because it seems really clear that the future web applications are all about this sweet couple.

The problem is that the process of changing developer’s mind to start thinking in React & Redux way isn’t actually smooth. Frameworks we used to apply (Backbone, Angular, jQuery, etc.) work in drastically another way, so we need some time to switch.

Obviously, when we hear about React & Redux bunch, we begin to puzzle out exactly those two words. And that’s right for a start. React serves as the view layer, Redux serves as the data one…

No comment yet.
Scoop.it!

Understanding JavaScript’s async await

Understanding JavaScript’s async await | JavaScript for Line of Business Applications | Scoop.it
Earlier this week we took a look at new features coming in ES2016. Today we’ll learn about async / await.The async / await feature didn’t make the cut for …
No comment yet.
Scoop.it!

Find your perfect React starter project

Find your perfect React starter project | JavaScript for Line of Business Applications | Scoop.it

Find a React starter project / boilerplate that fits your needs perfectly. Use this tool to search and filter for the starter project that has everything you need and nothing you don't.

Jan Hesse's insight:

an incredible list of 79 open source projects with boilerplate code to quickly get started with React development

No comment yet.
Scoop.it!

Frend — A collection of accessible, modern front-end components.

Frend — A collection of accessible, modern front-end components. | JavaScript for Line of Business Applications | Scoop.it

Frend components are modest and dependency-free. They are built with web standards as a priority and aim to avoid assumptions about tooling or environment. Care has been taken to make sure each component is compliant, keyboard navigable and properly interpreted by assistive technologies.

The purpose of Frend is to offer ready-to-use components for projects. These also provide specifics on how they’ve utilised ARIA attributes and event bindings, based on global recommendations, in order to make them more predictable and usable for all.

The goal is to work on these components collaboratively. This allows us to share our implementation experiences, approaches to supporting different environments, and any bugs we’ve come across along the way.

No comment yet.
Scoop.it!

What to use for React styling?

What to use for React styling? | JavaScript for Line of Business Applications | Scoop.it

High level overview of all the tools available for styling React components, and how they fit together. Covers PostCSS, Sass, BEM, CSS Modules, Autoprefixer, cssnext, and more.

No comment yet.
Scoop.it!

React Elements vs React Components vs Component Backing Instances

React Elements vs React Components vs Component Backing Instances | JavaScript for Line of Business Applications | Scoop.it
Many of you have probably heard of Facebook’s React library and used it in your own work or projects. It’s extremely pop…
No comment yet.
Scoop.it!

Webpack — The Confusing Parts

Webpack — The Confusing Parts | JavaScript for Line of Business Applications | Scoop.it

Webpack is the leading module bundler for React and Redux apps. I think folks using Angular 2 and other frameworks are also using it a lot these days.

 

Webpack’s Core Philosophy
1. Development Vs Production
2. webpack CLI Vs webpack-dev-server
3. “entry” — String Vs Array Vs Object
4. output — “path” Vs “publicPath”
5. Loaders And Chaining Loaders
6. Loaders Themselves Can Be Configured
7. The .babelrc file
8. Plugins
9. Loaders Vs Plugins
10. Resolving File Extensions

No comment yet.
Scoop.it!

Web Components vs Iframes

Web Components vs Iframes | JavaScript for Line of Business Applications | Scoop.it
Iframes… Can’t live with them, can’t live without them. Is it just me or anyone else is also wondering why these guys are still being used even though the 90s are long gone? Well, believe it or not - no one has come up with a better alternative for embedding another HTML document into your page since Microsoft first introduced the tag in 1997. Not until recently, at least.
No comment yet.
Scoop.it!

SAM - State | Action | Model

SAM - State | Action | Model | JavaScript for Line of Business Applications | Scoop.it

SAM is a new reactive/functional pattern that simplifies Front-End architectures by clearly separating the business logic from the view and, in particular, strictly decoupling back-end APIs from the Front-End. SAM is technology independent and as such can be used to build Web Apps or Native Apps. It is also protocol independent and can be implemented over HTTP, WebSockets...

SAM is unapologetically driven by simplicity and challenges the complexity of frameworks like Google's Angular or Facebook's React+JSX+Flux/Redux+Saga+Thunk+GraphQL+Relay. One of SAM's key goals is to enable everyone to build beautiful and engaging HTML5/CSS3/JavaScript Web Apps while retaining what makes React.js so unique:

  • Composition
  • Unidirectional data flow
  • Freedom from DSLs
  • Explicit mutation
  • Static mental model
No comment yet.
Scoop.it!

Performance optimisations for React applications

Performance optimisations for React applications | JavaScript for Line of Business Applications | Scoop.it

The main performance hotspot in React applications is redundant processing and DOM diffing in components. In order to avoid this return false fromshouldComponentUpdate as high up in your application as you can.

To facilitate this:

  1. Make shouldComponentUpdate checks fast
  2. Make shouldComponentUpdate checks easy
No comment yet.
Scoop.it!

The Problem with Redux... And How to Fix It

The Problem with Redux... And How to Fix It | JavaScript for Line of Business Applications | Scoop.it
Redux has emerged as the preeminent framework for building React-based web applications. It perfectly complements React's declarative views with a straightforward and elegant architecture that brings some of the best ideas of software engineering theory (immutable global state, functional programming, Event Sourcing, CQRS, etc.) into the web development mainstream. "There
No comment yet.
Scoop.it!

Massively performant, multi-layered React.js table widget Written in TypeScript

Massively performant, multi-layered React.js table widget Written in TypeScript | JavaScript for Line of Business Applications | Scoop.it
GigaGrid - Massively performant, multi-layered React.js table widget Written in TypeScript
No comment yet.
Scoop.it!

Composable React Components

Composable React Components | JavaScript for Line of Business Applications | Scoop.it
Hello in this blog post I want to talk about a problem I have recently had within the BBC Live team and how we solved it. To begin with I should probably give you a little bit of context to the problem.
No comment yet.
Scoop.it!

Learn Redux — a free video series

Learn Redux — a free video series | JavaScript for Line of Business Applications | Scoop.it
20 video tutorials to help you learn how to build JavaScript apps with React.js and Redux.
No comment yet.
Scoop.it!

Why You Shouldn't Style React Components With JavaScript

Why You Shouldn't Style React Components With JavaScript | JavaScript for Line of Business Applications | Scoop.it
A handy dandy list of problems which you *could* have fixed with plain old CSS instead, and *new* problems you'll have if you use Inline Style anyway.
No comment yet.
Scoop.it!

Interactive guide to server-side rendering with Webpack, React, React Transmit, CSS modules and more

Interactive guide to server-side rendering with Webpack, React, React Transmit, CSS modules and more | JavaScript for Line of Business Applications | Scoop.it

Step 1: minimal Webpack, Babel and React setup

 

Step 2: trivial server-side rendering with Express

 

Step 3: add styles

 

Step 3a: switch to CSS modules

 

Step 3b: save the day by making webpack to render server-side code

 

Step 4a: asyncronously fetching data

 

Step 4b: use react-transmit to declaratively define data deps

 

No comment yet.
Scoop.it!

Understanding Ember.js Components

Understanding Ember.js Components | JavaScript for Line of Business Applications | Scoop.it

Web developers must work within the limits of the available HTML elements to build the foundations of their web projects. Web components are a new web standard that allow developers to extend the current HTML specification to create custom and reusable elements that better serve their project's requirements.

The Ember.js framework closely follows the W3C's specification in their implementation ofcomponents, which is important as web components are expected to be a big part of the future of the web.

No comment yet.
Scoop.it!

Introducing React Storybook

Introducing React Storybook | JavaScript for Line of Business Applications | Scoop.it

With React Storybook, you can develop and design UI components outside your app in an isolated environment. It will change how you develop UI components.

No comment yet.
Scoop.it!

React, Redux and Immutable.js: Ingredients for Efficient Web Applications

Unlike most front-end web frameworks, React's aim is to solve the various challenges of building user interfaces that rely on changing data. Although React is a simple JavaScript library and is easy to get started with, it is still possible to misuse it in ways that deny the web app from reaping the benefits that React has to offer. In this article, Toptal engineer Ivan Rogic demonstrates the synergy of React, Redux and Immutable.js, and shows how these libraries together can solve many performance issues that are often encountered in large web applications.
No comment yet.
Scoop.it!

Build a Better Angular 2 Application with Redux and ngrx

Build a Better Angular 2 Application with Redux and ngrx | JavaScript for Line of Business Applications | Scoop.it

State management within Angular started out as a single celled organism if you will in the form of a single controller managing all the state for the application. If this is a single page application, one controller makes sense right? We emerged out of the ice age by starting to group our views and controllers into smaller, self-contained units either within a directive or a route. This was a vast improvement, but there was still the problem of managing complex state within our applications. It was not uncommon for us to have bits and pieces of state strewn across our application tucked inside of controllers, services, routes, directives, and occasionally, in our templates. Mutable state in itself is not inherently evil but shared mutable state is a recipe for disaster.

No comment yet.