Search
Understanding React `setState`
25.4.2018
React components can, and often do, have state. State can be anything, but think of things like whether a user is logged in or not and displaying the correct username based on which account is active. Or an array of blog posts. Or if a modal is open or not and which tab within it is active.
React...
Scroll to the Future
19.4.2018
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?...
[článek] Státe, prosím, omez mě, volá šéf Facebooku Mark Zuckerberg. Zbláznil se?
13.4.2018
[6 minut čtení] Asi takhle nějak by se jednou větou dal popsat postoj zakladatele Facebooku, kterého tento týden několik hodin grilovaly výbory obou komor amerického Kongresu. Co ho to napadlo? Jestli jste alespoň mírný internetový pamětník, tak si vzpomenete, že Facebook byl jenom jedním z mnoha...
Force a React Component to Re-Render
7.3.2018
The beauty of React components is that they automagically render and update based on a change in state or props; simply update the state from any place and suddenly your UI element updates — awesome! There may be a case, however, where you simply want to brute force a fresh render of a React...
State of Blockchain 2017
6.3.2017
var researchConfig = { “title”: “State of Blockchain Q4 2016”, “subtitle”: “Summarizes key trends, data and events from the fourth quarter of 2016 and the year as a whole.”, “publishDate”: “March 6th, 2017”, “slug”:...
Using ARIA in HTML
21.6.2014
ARIA (WAI-ARIA if you want to be formal) is a set of attributes that you can add to HTML elements. These attributes communicate role, state and property semantics to assistive technologies via the accessibility APIs implemented in browsers. The W3C HTML specification provides information about...
Using ARIA in HTML
21.6.2014
ARIA (WAI-ARIA if you want to be formal) is a set of attributes that you can add to HTML elements. These attributes communicate role, state and property semantics to assistive technologies via the accessibility APIs implemented in browsers. The W3C HTML specification provides information about...