or subscribe with
Join 6,400+ readers for one email each week.
Digests » 146
this week's favorite
In real applications, we often see confirmation dialogs in various situation e.g. posting on SNS, promoting paid plans, purchase confirmation etc. Sometimes they are annoying but still important to be informative to users.
Every single time a button needed to be rendered on screen, there was so much object creation that needed to be done to compute the styles. Since we have been moving towards React Native and react-native-web for a while now, it has always been planned to rewrite the styles using react native’s StyleSheet implementation.
Compose multiple setState or getDerivedStateFromProps updaters in React, allowing you to build and compose as many updaters as you want while keeping your actual component code simple and maintainable.
Drop down data binding is always interesting in different UI technologies. First of all feeding the drop down a list of dynamic data values from a web service and then saving the selected value in our state along with some simple validation. So, let’s give this a go in react …
On mobile, it used to be hard to build beatiful cross-platform apps. Then React Native came along, giving us a seamless way to build user interfaces and manage state in code, all while doing it cross platform. On desktop, there is no such tool. You can create a GUI using something like Qt, but the code to make it is messy and unorganized. Having made a very large GUI myself, it gets very cumbersome to manage all of that.