React 16.4 release notes (pointer events)

The latest minor release adds support for an oft-requested feature: pointer events!
It also includes a bugfix for getDerivedStateFromProps. Check out the full changelog below.
Pointer Events
The following event types are now available in React DOM:
onPointerDown
onPointerMove
onPointerUp
onPointerCancel
onGotPointerCapture
onLostPointerCapture
onPointerEnter
onPointerLeave
onPointerOver
onPointerOut
Please note that these events will only work in browsers that support the Pointer Events specification. (At the time of this writing, this includes the latest versions of Chrome, Firefox, Edge, and Internet Explorer.) If your application depends on pointer events, we recommend using a third-party pointer events polyfill. We have opted not to include such a polyfill in React DOM, to avoid an increase in bundle size.
Check out this example on CodeSandbox.
Huge thanks to Philipp Spiess for contributing this change!
Bugfix for getDerivedStateFromProps
getDerivedStateFromProps is now called every time a component is rendered, regardless of the cause of the update. Previously, it was only called if the component was re-rendered by its parent, and would not fire as


Original URL: http://feedproxy.google.com/~r/feedsapi/BwPx/~3/F3BEWljSaQM/react-v-16-4.html

Original article

You might not need homebrew

Homebrew is amazing. I love the user experience – it is super easy to add new packages to macOS. However, I’ve just realized, that I barely use it anymore. What follows is how I work without Homebrew.Since I can remember, I’ve used Homebrew extensively:wget on macOS? just run brew install wget,need Redis for a project? no worries, Homebrew had my back with brew install redis.LaunchRocket made things even better. In case you are not familiar with LaunchRocket, it adds a preferencePane for your System Settings, so you have a UI on top of Homebrew. It enables you to easily turn on or off different services:Back in those days, setting up Docker on macOS was painful – you had to:install VirtualBox,install boot2docker,and set up the DOCKER_HOST environment variable.While it does not seem a lot, it is far from a great user experience.Luckily for us, Docker fixed this. With the help of


Original URL: http://feedproxy.google.com/~r/feedsapi/BwPx/~3/Q5704HM1eg4/

Original article

How to Install TeamSpeak Server in CentOS 7

TeamSpeak is a popular, cross-platform VoIP and text chat application for internal business communication, education and training (lectures), online gaming and connecting with friends and family. Its primary priority is delivering a solution that…
[[ This is a content summary only. Visit my website for full links, other content, and more! ]]


Original URL: http://feedproxy.google.com/~r/tecmint/~3/wsh8CQ1Qvt0/

Original article

How Stack Overflow for Teams Fits into the Community

Back when I was a full-time programmer and there was some code someone struggled with, it was a common practice to ask around in cubicle land. Sometimes you’d get lucky and find someone who know the answer right away or knew where to look in the documentation. When Stack Overflow launched, I cultivated a habit of asking and immediately answering questions I’d heard discussed at the office on the site. To this day, I get upvotes on questions like “How can you untar more than one file at a time?” It doesn’t just add to my reputation score—it also feels great to know I’ve helped dozens¹ of strangers. How often can you say that about an hour or so of effort?
Meanwhile, most of the questions people on my team had were more like, “How do I check the current state of resource_server?” If you don’t know what that means, don’t


Original URL: http://feedproxy.google.com/~r/feedsapi/BwPx/~3/yCCokq-gEtA/

Original article

MariaDB launches Oracle compatible enterprise open source database

Enterprise computing has often been reliant on proprietary database architecture, but this can be both complex and costly, putting up a barrier to innovation. Now open source database specialist MariaDB is launching its latest enterprise offering with Oracle compatibility. This allows existing Oracle Database users to reuse existing code and established skill sets when migrating applications or deploying new ones. MariaDB TX 3.0 introduces built-in, system-versioned tables, enabling developers to easily build temporal features into applications. This eliminates the need to manually create columns, tables and triggers in order to maintain row history, freeing DBAs to simply create new tables… [Continue Reading]


Original URL: https://betanews.com/2018/05/24/mariadb-enterprise-open-source-database/

Original article

Proudly powered by WordPress | Theme: Baskerville 2 by Anders Noren.

Up ↑

%d bloggers like this: