Javascript frameworks like AngularJs and React are great for building building SPA (single page applications). However, problem with those client frameworks is that content is rendered on the client. And rendering on the client affects SEO (search engine optimization) which…
React.js
List of articles about React – javascript framework for building user interfaces. It is built and maintained by Facebook and also by community as it is open sourced.
React.js features
Virtual Dom
Virtual Object Model. React creates in memory data structure, compares that structure with DOM and does updates accordingly. Because of that feature React is known for it’s speed.
One-way data flow
Each react component receive list of properties that component can’t change directly but can also receive callback functions that can be executed in case change is needed.
JSX
For years people talk about importance of separation of HTML and Javascript. However, React.js combines them again. Altought, code inside it’s render function resembles HTML it is in fact JSX, and in production is compiled to javascript.
One great thing about this framework is theirs “learn once write anywhere” philosophy. By learning react you will not only be able to write web but native mobile applications for Android and iOS.
If you were creating your own autocomplete in jQuery, React or any other library/framework you probably wanted to highlight some letters of each item that matches user search criteria something like this: In this article I will explain idea, and…
If you are using React and TypeScript together as I do, you probably noticed that lot of third-party React components you find on Github don’t have type definition files and you don’t get benefit from all great things you from…