Tag: React JS

Javascript React JS

Exmaple with useContext in React JS functional components

In this brief article, we will discuss the effective implementation of useContext. For those unfamiliar, useContext is a technique for sharing state within an application between various components, without requiring the passing of parameters from parent components to each child component. This approach facilitates component modularization and eliminates the need for additional properties that are […]

Pega

Mockware – Pega Simulations Made Easy

This post is about my Pega Community Hackathon project named Mockware. I created this project to solve a problem faced by many Pega project team related to integrations. Below listed are some common issues when building/testing integrations with external systems. Running scheduled automation testing without mutating the actual data. Missing actual data for satisfying some […]

React JS

Using ChaptGPT for generating React JS code

I was using copilot for while and it was really helpful to speed up the development. But wanted to give a try how ChatGPT compares with copilot as assistance. So I choose a simple use case of generating code for displaying list addresses and editing them in screen. Here is the first prompt I gave […]

Javascript React JS

React JS Tags component

I was looking for some light weight Tags component found Tagify to be interesting. But then figured out it got many features which I will not use. So I wanted to create something very minimalist. I found athe following article to follow as I wanted save time while creating this. https://jerrylowm.medium.com/build-a-tags-input-react-component-from-scratch-1524f02acb9a But that article was […]

Javascript React JS

Implement form builder with React JS Drag and Drop (DnD)

I am working on a form builder which is part of my CodeIgniter 4 website builder going to be available at https://thephpcode.com. The current website builder uses old UI and generates website in CodeIgniter 3. While doing that I had many challenges as I was using the React DnD for the first time. Here I […]

Javascript React JS

Avoiding form fields loosing focus issues when using redux

I am working on revamping my dynamic website generator thephpcode.com. Last time when I implemented 10 years ago, I choose KnockoutJS for binding data model to the UI as there were not many options at the time. But this time planned to migrate to React JS. I still loves the KnockoutJS for its minimal library […]

Javascript React JS

Maintaining state with react JS Drag and Drop (DnD) and redux

I am currently working on a form builder which is part of the website builder for thephpcode.com CodeIgniter website generator. So the requirement was to allow users to create dynamic pages by dragging and dropping elements as part of the data model and also support dragging and dropping other building block elements such as column […]

Back To Top