When using the @wordpress/scripts package, it will automatically create a .deps.json file for every JavaScript entrypoint. This file contains a list of all the WordPress JavaScript dependencies used in it and in all the file it imports. Therefore it really simplifies keeping track all of the dependencies of a script. But the question that quickly […]
Continue readingHome
.map vs .forEach – what's the difference?
September 3, 2019Another thing that I realised later than I probably should have was: Why do .map and .forEach even both exist ? In my mind they were both just useful when wanting to iterate over every single item inside an Array with no easy ability to stop in between 🛑. But one day while working with […]
Continue readingWhat are higher order functions?
August 1, 2019When working on some filtering and sorting functionality, there is something wished I would have learned much earlier in my career. Before that point I didn’t really understand what higher order functions were or why it would be useful to return a function from another function. So I hope that this might help someone find […]
Continue readingBeing MC for the JavaScript for WordPress Online Conference
July 13, 2019
After helping Zac out with a couple of things, like the Bootcamp he approached me and asked wether I wanted to be a MC for his JavaScript for WordPress Online Conference. Being super excited about the conference anyway I jumped on it right away and it was such a great experience. I got to host […]
Continue readingLearning JavaScript with a Study Group – JavaScript for WordPress Conference 2019
July 12, 2019“By definition, study groups are a place to work on challenging concepts and learn from each other. Sometimes other students have questions you didn’t even know you have, and setting a regular time and place to study can help with procrastination. Plus, explaining the material to other students is a great way to solidify your […]
Continue readingHeadless Hackathon Takeaways
March 30, 2019In early 2019 the Studygroup I’m in decided to take part in a hackathon hosted by Zac Gordon. The goal was to build a headless WordPress site. Our Headless Site: A meal planning site that allows you to create your meal plan for the next week from a list of stored recipes. WordPress Installation For […]
Continue readingHow to Use The @wordpress/scripts Build Tool with Custom WordPress Blocks
March 26, 2019
In our last article about how to build a basic block using registerBlockType with no webpack or JSX we covered how to setup a custom block without having to use a build system, jsx and modern javascript that needs to be converted in order to run in browsers that don’t support it jet. In this article […]
Continue readingGutenberg Block Tutorial with registerBlockType() and NO Webpack, ES6, JSX or Babel
February 22, 2019
Since the new Gutenberg block editor has been merged into core with the release of WordPress 5.0, the demand for creating your own blocks has increased greatly. In this short guide we’ll be getting you up and running creating your first block. Although build tools like webpack are commonly being used, in this tutorial we […]
Continue reading