web dev notes

Posts for tag components

One source of truth to run them all

April 06, 202013:10

This is an example of how different components implemented with different frontend frameworks or libraries can share the same Redux store. Different frameworks and libraries in same project The idea of the project is to implement the same component, a simple counter with two buttons, one to increase the value and other to decrease it. I decided to go with Webpack to build and bundle everything. Webpack has a large set of plugins and my thought was that there should be a loader in case I need it to load and build the resources. (I was right as I could check it)

Building a JSF composite component

July 16, 201620:58

Since the version 2.2 of the JSF specification build composite components is a really easy thing to do. I will describe here how we implemented one to reuse a piece of UI in many pages. From the answer of this StackOverflow question I’d learned about how to create the java part of this example.