Leonardo Losoviz

  https://leoloso.com/ Freelance developer and writer, with an ongoing quest to integrate innovative paradigms into existing PHP frameworks, and unifying all of them into a single mental model.

     



10 Stories by Leonardo Losoviz

Essentials for building your first Gutenberg block

Even if you already know the libraries used by Gutenberg, it can still feel daunting to get started. Here's where to start.
0 10 min read

Setting up your first Gutenberg project

Learn how to set up the development environment for WordPress' React-based Gutenberg editor, as well has how to create a new project.
0 6 min read

Creating an @export GraphQL directive

Until GraphQL adds an official @export directive to the spec, implementers need to code this functionality through a custom directive.
0 11 min read

Treating GraphQL directives as middleware

Directives are among GraphQL's most powerful features, but that's only if the GraphQL server provides a good support for them.
0 14 min read

GraphQL directives are underrated

You won't read much about them in the countless blog posts about GraphQL scattered across the web, but directives are among the most powerful...
3 12 min read

Versioning fields in GraphQL

Unlike REST, GraphQL supports both versioning and evolution as methods to handle breaking changes.
1 9 min read

Speeding up changes to the GraphQL schema

Principled GraphQL outlines an architectural strategy that enables teams to pluck resolvers in and out of the schema on an ad-hoc basis, making the...
0 7 min read

Code-first vs. schema-first development in GraphQL

We analyze and compare the two approaches to creating a GraphQL service: schema-first and code-first.
1 10 min read

Simplifying the GraphQL data model

Using components to represent your GraphQL data structure on the server side is optimal for simplicity.
2 7 min read

Designing a GraphQL server for optimal performance

Of the many lessons learned from building a GraphQL server, conquering the N + 1 problem is among the most important.
0 10 min read