Developing web applications with React and its ecosystem
React with its component-based approach is fun! But you can find it hard to build web application with it. That’s because React is not a framework. It’s a library which does one part of building web applications, rendering views, and does it well. You need to bring in other libraries (ecosystem) and piece them together…
Testing React components
There are two aspect of testing React components: testing their structure (desired markup is displayed) and behaviour (e.g. when clicking on a button this function will be called or something different will appear in component’s markup). Testing component structure is best done with shallow rendering since it renders only provided component and not its potential…
My initial experience with React and Flux
For the past month I’ve been into React and Flux. React is a JavaScript library for building user interfaces from folks of Facebook and Instagram. The reason I like React is because it is simple to learn – you learn a great deal about it just by following official tutorial. Another thing I like about…
On MobX Redux dilemma
In my experiences using MobX as a state management library produces less code and lets you get things done quicker (two-folded knife!) but with Redux you get a lot of stuff for free – most notable is scalable approach to architecture and maintenance of web applications. I personally prefer Redux also because it’s functional like…
Libraries over frameworks
Lately (in term of years) I noticed I prefer using libraries over frameworks. Or in other words I like to use packages that each do their one thing well rather than one package with all batteries included. I recognize both libraries and frameworks have their pros and cons. You can see my preference for libraries…