Search

Nalezeno "Javascript": 803

How to Get a React Component’s Element


JSX is an amazing pseudo-language for React, and if I’m honest, it’s what brought me to love React so much.  Using React without JSX is cumbersome and frustrating, while using JSX is such an easier way to express your code.  One drawback of JSX, however, is that it makes accessing...

Turn Sublime Text 3 into a JavaScript IDE


Sublime Text is one of the most popular editors for web development and software development in general. It’s very smooth and fast compared to other editors (being written in C++ helps that speed). Sublime also has tons of plugins you can find through Package Control. But it’s only a text editor...

Navštivte jsDevMeetup na téma ClojureScript


22. května se bude na Fakultě informačních technologií na ČVUT v Praze konat další přednáška z cyklu jsDevMeetupů. Tentokrát bude přednášet Aleš Roubíček o vývoji v ClojureScriptu. Přednáška začíná v 18:30 v místnosti…

Vertically Centering with Flexbox


Vertically centering sibling child contents is a task we’ve long needed on the web but has always seemed way more difficult than it should be.  We initially used tables to accomplish the task, then moved on to CSS and JavaScript tricks because table layout was horribly inefficient —...

React and autofocus


While I love ReactJS, I can say that I sometimes find interactions that were easy during the pre-ReactJS are annoyingly difficult or at least “indirect”.  One example is properly ensuring that a given <input> element gets focused when a button in a different component...

IT akademie Brno – React v praxi


Na workshopu si vyzkoušíte pokročilou tvorbu aplikací v Reactu a běžně využívaných knihovnách užívaných s Reactem. Podíváme se do světa Reactu a na jeho ekosystém, zaměříme se na prozkoumání nejvíce používaných knihoven s Reactem.…

Animating Progress


Jonathan Snook on the complexity of animating the <progress> element. If you’re unfamiliar, that’s the element that spits out a bar chart-like visual that indicates a position between two values: This example has custom styles, but you get the point. Jonathan's post shows off a method...

​Level Up Your JavaScript Error Monitoring


(This is a sponsored post.) Automatically detect and diagnose JavaScript errors impacting your users with Bugsnag without changing your code or adding try/catch blocks. Get comprehensive diagnostic reports, know immediately which errors are worth fixing, and debug in a fraction of the time compared...

Server-Side Visualization With Nightmare


This is an extract from chapter 11 of Ashley Davis’s book Data Wrangling with JavaScript now available on the Manning Early Access Program. I absolutely love this idea as there is so much data visualization stuff on the web that relies on fully functioning client side JavaScript and potentially...

SOLID – (S)ingle Responsibility Principle


V tomto článku představím Single Responsibility Princip ze SOLIDu. Ukážeme si, jak tento princip dodržovat na konkrétním příkladu, namalujeme si nějaké UML diagramy, a nakonec přiložím celý příklad k dispozici v Typescriptu

Scroll to the Future


This is an interesting read on the current state of scrollbars and how to control their behavior across operating systems and browsers. The post also highlights a bunch of stuff I didn’t know about, like Element.scrollIntoView() and the scroll-behavior CSS property. My favorite part of all though?...

List Processing with map, filter, and reduce


Functional programming in JavaScript is all the rage these days. And it should be: The benefits for readability, maintainability, and testability are dramatic. "Functional programmmin

The Dark Side of Promises


Since the release of es6 many new features have found their way into NodeJS, but non had quite the same impact as promises. Promises have been developed for the browser before es6 was even a thing. There were several implementations that have been used like jQuery’s deferred object before...

Script & Style Show: Episode 6: Debugging with Jason Laster


On this week’s episode: we welcome my colleague Jason Laster from Mozilla to speak about the Firefox DevTools debugger. We talk debugging, console shame, the future of JavaScript debuggers, and more! Have ideas for the next episode? Comment below! The post Script & Style Show: Episode...

Destructuring and Function Arguments


The JavaScript language has benefitted from some really awesome new features over the past few years, including arrow functions, the spread operator, and default function argument values.  Even if your browser doesn’t yet support proposed JavaScript API syntax additions, you can use a tool...

Nahoru
Tento web používá k poskytování služeb a analýze návštěvnosti soubory cookie. Používáním tohoto webu s tímto souhlasíte. Další informace