Stream

Pinned by moderator

Prateek Jadhwani
moderator

Discussion  - 
 
Here is the question that is bugging me for quite some time. So I decided to create a poll for it.

*Are you using web-components in production?* Or are you using any libraries for web-components? Or a similar approach?
183 votes  -  votes visible to Public
Yes, we are using web-components!!
37%
No, but we have started implementing it.
8%
We are building POCs and making decision
9%
No, not worth it!!
14%
We have no clue what that is.
33%
9
1
Christiaan Westerbeek's profile photoPrateek Jadhwani's profile photo
3 comments
 
+Christiaan Westerbeek Yeah, i agree with you. I wish g+ would provide more than 5 options for voting.
Add a comment...

Prateek Jadhwani
moderator

Show Your Work  - 
 
 
Updates on Pancake CMS, a cms built using webcomponents, polymerjs and firebase

https://prateekjadhwani.github.io/2017/01/18/Pancake-C-M-S-Improvements-Week-2.html
Last week I posted a blog about my current side project - Pancake CMS. And because of the long weekend, I was able to finish off substantial amount of work on the project. The updates involved creating a bunch of...
1
Add a comment...
 
// detect Array length..?
function a(){}; a.prototype=[1];
var b=new a();
b.push(1);
console.log( JSON.stringify(b) ); // {"1":1,"length":2}
b.pop();
console.log( JSON.stringify(b) ); // {"length":1}
b.pop();
console.log( JSON.stringify(b) ); // {"length":0}

b.push(2);
console.log( JSON.stringify(b) ); // {"0":2,"length":1}
console.log( JSON.stringify(a.prototype) ); // [1]
b.pop();
console.log( JSON.stringify(b) ); // {"length":0}

delete b.length; // reset..?
console.log( JSON.stringify(b) ); // {}
b.push(1);
console.log( JSON.stringify(b) ); // {"1":1,"length":2}

1
Add a comment...
Even though homo neanderthals had larger brains and stronger physiques, homo sapiens outsmarted them and wiped them out. Why this was…
1
Add a comment...
 
Tired of learning yet another JS library? How about learning some skills you'll get benefits from, even if you don't use JS at all

http://codeutopia.net/blog/2017/01/17/4-non-javascript-library-topics-to-learn-to-take-your-skills-to-the-next-level/
1
Add a comment...

Matt Smith

Discussion  - 
 
The Front-End Is...

Here's a brief nod of recognition to my fellow #FrontEnd devs. #CSS #JavaScript
Front-end development has many skills associated with it, and it's been my experience that the role is often misunderstood. The front-end is tough to describe, but here's a brief nod of recognition to just some of what developers do.
1
Add a comment...

Davy Wybiral

Show Your Work  - 
 
Quantum circuit editor and simulator: https://news.ycombinator.com/item?id=13392850
Hacker News new | comments | show | ask | jobs | submit · login · Show HN: Quantum circuit editor and simulator (github.com). 2 points by wybiral 42 minutes ago | hide | past | web | discuss | favorite · Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact. Search:
1
Add a comment...

Evan Sharp

Libraries  - 
 
Check out this simple to use library I made for react based on the jquery (and other) projects for block UI. 
3
Add a comment...

Created by

About this community

★★★★★ Read the +JavaScript Community Manifesto before posting: http://bit.ly/JSCManifesto ★★★ Before you ask a question, please have a quick look at our FAQs: http://bit.ly/JscFAQs ★★★★★ Discuss JavaScript related topics. There should be plenty of those with the current popularity of JavaScript.

Aurelio De Rosa

Guides/Tutorials  - 
 
Computer science concepts can help in writing better and more elegant software. In this second article of the series, I’ll discuss how important is reasoning about the problem we’re facing. To do that, I’ll analyze the problem of finding all celebrities in a set of people.
In this second article of my series From JavaScript developer to JavaScript engineer, I show how to find all celebrities in a set of people.
2
2
Add a comment...

Panu Viljamaa

Show Your Work  - 
 
One function to iterate over Arrays, Maps AND Functions.

https://github.com/panulogic/fpmap
fpmap - Additional Support for Functional Programming in JavaScript via the extension method Function.prototype.map
1
Carl-Philip Hänsch's profile photo
 
Looks weird to me 
Add a comment...

Dmitry Pavlov

Guides/Tutorials  - 
 
Immutability in JavaScript using Redux

In an ever growing ecosystem of rich and complicated JavaScript applications, there’s more state to be managed than ever before: the current user, the list of posts loaded, etc.Managing state can be hard and error prone, but immutability and Redux- a predictable state container for JavaScript apps- can help significantly. In this article, Toptal Programmer David Xu talks about managing state using immutability with Redux, a predictable state container.

#Immutability #JavaScript #React #Redux
6
2
Add a comment...

Ferenc Hámori

Guides/Tutorials  - 
 
This post covers what tools and techniques you have at your disposal when handling Node.js asynchronous operations. Learn how to avoid callback hell !
5
Add a comment...

Tamás Sallai

Guides/Tutorials  - 
 
I've just written a post about the basics of JSPM. I hope you find it useful.
2
Add a comment...

Didin Jamaludin

Guides/Tutorials  - 
 
Maybe this useful for someone who use angula2 or ionic 2
Tutorial about how to mixing side menu and tabs in Ionic 2 using Side Menu as starter template.
1
Add a comment...
 
function a(){} function b(){}
a.prototype=new b(); b.prototype=new a();
a.prototype.a=1; b.prototype.b=2;

var c=new a();
console.log(c.a, c.b, a.prototype.constructor.name, b.prototype.constructor.name); // 1 undefined "b" "b"

var d=new b();
console.log(d.a, d.b, a.prototype.constructor.name, b.prototype.constructor.name); // 1 2 "b" "b"

// ..? 
1
Ravinder Kumar's profile photo
 
🤔
Add a comment...

David O'Brien

Guides/Tutorials  - 
 
Online, offline, schmoffline ...
1
Add a comment...

Mark Mara

Guides/Tutorials  - 
 
JavaScript the Basics is your one stop course to enter into the language of JavaScript. We are going to start from scratch and build up our understanding of the world’s most popular programming language together.
https://school.techcus.com/p/r1EdxKj7x
1
Add a comment...

Dominic Amirtheraj

Show Your Work  - 
 
Meta Programming in JS - A Complete Reference 
Meta Programming. Enabling self-adapting code. Meta-Programming [MP] an art of writing program with an ability to rewrite itself. eval a part of JS since the begin of Time(ES1) is a gimmick for MP. In JS6 MP can be achieved with ...
2
1
Add a comment...