Thinking and building in React involves approaching application design in chunks, or components. Each part of your application that performs an action can
Компоненты высшего порядка с использованием Recompose
HOC — слишком громкое слово для простого функционального паттерна! Месяц назад в РайффайзенБанке прошел первый фронтенд-митап, и поскольку я всего за пару дней...
Managing State in React With Unstated | CSS-Tricks
As your application becomes more complex, the management of state can become tedious. A component's state is meant to be self-contained, which makes sharing state across multiple components a headache. Redux is usually the go-to library to manage state in React, however, depending on how complex your application is,
Meiosis is not a library. It's a simple pattern to manage state in your web applications. Think Redux, MobX, Cerebral, React Context, etc. but without being tied to a framework API. Instead, just plain functions and objects.
When building React applications, one thing developers don’t like to utilize is routing in React - usually because of the assumed learning curve involved. In this article, we are going to debunk that myth and show you how easy it is to implement routing and serving responsive routes in your Rea
Как сделать конфигурационный файл роутов в React Router 4
Автор оригинала Tyler McGinnis. Переведено проектом "Без воды". Мы занимаемся обучением React/Redux и делимся различными материалами на русском языке. Провод...
This React with GraphQL tutorial shows you how to use GraphQL in your React application by consuming GitHub's GraphQL API. You will not use any clever framework such as Apollo or Relay for your query or mutation. Instead this tutorial focuses on plain GraphQL with only HTTP requests in JS ...
getDerivedStateFromState – или как сделать из простой проблемы сложную
Я люблю Реакт. Люблю за то, как он работает. За то, что он делает вещи «правильно». HOC, Composition, RenderProps, Stateless, Stateful – миллион патернов и...
Сегодня поговорим об атрибуте key в React. Часто разработчики, которые только начинают использовать React, не придают большого значения атрибуту key. А зря…...
As you begin to learn React, you will be faced with understanding what state is. State is hugely important in React, and perhaps a big reason you’ve looked into using React in the first place. Let’s take a stab at understanding what state is and how it works. What is State? State, in React, is a plain JavaScript
Server side rendering a React app can provide a few different benefits including performance and SEO. The problem is with those benefits comes a cost of additional complexity to your application. In this post, we'll start from scratch and slowly build a server side rendered React (with React Router) while breaking down some of the complexity as we go.
Разработка изоморфного RealWorld приложения с SSR и Progressive Enhancement. Часть 2 — Hello World
В предыдущей части туториала мы узнали что такое проект RealWorld, определились целями туториала, выбрали стек технологий и написали простой веб-сервер на...