We are a big fan of the WooCommerce plugin for its stability and the ability to create our own custom templates. We are also a big fan of clean UX and performant enterprise level websites. https://wordpress.org/plugins/woocommerce/ One thing we have never been a fan of was WooCommerce Blocks. Don't get me wrong, the blocks are really cool. In a world of Full Site Editing it's reasonably necessary for WooCommerce to provide blocks for users to have the ability to build the site code free. … [Read more...]
Gutenberg Block Editor – Translating TypeScript
WordPress versions 4.9 and below allowed you to translate text in your JavaScript by passing JSON objects via wp_localize_script. While this system works great it has some limitations. With the release of WordPress 5.0, support was introduced to allow developers to translate their theme or plugin directly within JavaScript. Translating in JavaScript has some nice benefits: You add your text in the React components where it is used so you don't have to map objects to … [Read more...]
Use Immer ReactN – Version 1.4.0
Version 1.4.0 of use-immer-reactn is now available for general use. This version focused on closing the gap between use-immer and use-immer-reactn. Pass Finished Objects While most of the time when using the useGlobalImmer hook you'll want to pass a callback to take advantage of mutating the draft, sometimes you have a finished object externally and want to replace it. Now the returned updater function supports passing either a callback or a finished object interchangeably: … [Read more...]
WordPress-Libs – Version 3.1.0
Version 3.1.0 of WordPress Libs is now available and ready for general use. This version focused on improving the Actions functionality as well as various enhancements and bug fixes. Introduce add_looping_action on Actions class WordPress supports short circuiting various methods using filters to allow handling the process in an external way. Sometimes you need to call the original API to run your external process. Complications arise when the short circuit is part of original API as … [Read more...]
Taking Privacy Seriously
We spend hundreds of hours each year making sure our systems, customers' information, and customers' identities are protected. While we have always taken our users' privacy seriously, this quarter we decided to take things to a whole new level when it comes to protecting our plugin customers. Cookie Settings Previously we had our cookie policy written within our Privacy Policy. Now it lives on its own page and contains much more information about how we use cookies. We've also added a … [Read more...]
Js-Boilerplate Version 6.3
Version 6.3 of @lipemat/js-boilerplate is now available and ready for use. Over the past month or so there have been a couple minor version updates. This post will cover all changes since version 6.0.0. The main focus of this release was to reduce the reliance on core-js in favor of improved browser targeting and tools to verify which browsers are actually targetted. Reduce Reliance on Core-JS Core JS is a set of polyfills which add support to older browsers for modern code structures … [Read more...]