Implementations of sort algorithms in javascript

Implementations of bubble, selection, merge, and quick sorts.

Cool talk on js event loop and call stack

It’s junior-middle level, but animations are nice as well. Here’s an article about almost the same but in more details about difference between tasks’ queue (timeouts) and microtasks’ queue (promises and DOM modifications). The main idea is that there are several queues that have different priorities. And microtasks are more important than tasks.

Front-end interview questions with answers

Yeap, yet another one. That’s what it has now: Table of Contents

React. Benchmarking and optimizing performance

There is a tool called react-addons-perf that should be imported into your project.

After that you can use Perf object in your console. It can tell you about your react performance issues, not including redux. For instance, you can check unnecessary renders or unnecessary change calculations:

Here’s more on that — And …

Read more

MVC vs Flux

They are all architecture patterns. M is for model. It stores generic logic for the model like fields and calculations based on the fields like validation and stuff. V is for view. It just renders stuff and passes user interactions (events) to it’s controller via controller’s API. C is for controller that ties models to …

Read more

Nice scheduling service

And can be used for free. Calendar where you can post a schedule when you’re available for something to share with others.

Publish subdirectory of a project to gh-pages

If your build is located at ./build, then do this:

More details here —

Testing react’s dom with jest and enzyme

Install it like this:

Regression testing of react app with jest

Example is here — The main idea is this:

UTF-8 icons Icon-like Smiley ☺ ☺ ☺ Hot Springs ♨ ♨ ♨ 8-Ball ➑ ➑ ➑ White Star ☆ ☆ ☆ Black Star ★ ★ ★ White Heart ♡ ♡ ♡ Black Heart ❤ ❤ ❤ Airplane ✈ ✈ ✈ Black Scissors ✂ ✂ ✂ White Scissors ✄ ✄ ✄ Crown ♕ ♕ ♕ Cross ✝ …

Read more