Open in app
Home
Notifications
Lists
Stories

Write
Borislava Kirova
Borislava Kirova

Home

May 26

Attach methods to a function component in React

Useful for micro frontend apps and services. With this approach, you can call functions in components from outside. 1. Create a ref with React.createRef. const ref = React.createRef(); 2. Pass the ref to the component. You can either pass the ref to the component in a render function. import App from "./App" export default function AppContainer() { const ref = React.useRef(null); …

React

1 min read


Published in Dev Ghost Stories

·Dec 29, 2021

Module Federation with React app and vanilla js project

Objective: Import and Initialize a react app in a vanilla js project via webpack 5 Module Federation. Step 1 Export a function from the react app that renders the app in a container passed as a function parameter. Step 2 Configure webpack to use Module Federation…

Frontend

2 min read

Module Federation with React app and vanilla js project
Module Federation with React app and vanilla js project

Published in Dev Ghost Stories

·Oct 27, 2021

Push changes from a GitLab CI Pipeline via HTTPS

Why need this? I am using a visual snapshot diffing tool for one of my projects. I take baseline snapshots and then commit them, then run the test which makes a diff with snapshots of the current state of the app. …

Cicd

2 min read

Easily push changes from a GitLab CI Pipeline via HTTPS
Easily push changes from a GitLab CI Pipeline via HTTPS

Published in Dev Ghost Stories

·Oct 12, 2021

Why You should quit a product company?

Leaving a product company is very hard! But as soon as we don't challenge ourselves anymore, we should leave immediately. Recently I quit a product company. I joined in in a very early stage of its creation and I worked there for 5 years. Here is my reflection of why…

Quitting A Job

3 min read

Why You should quit a product company?
Why You should quit a product company?

Published in Dev Ghost Stories

·Sep 21, 2021

How to trigger a Gitlab pipeline on merge

I was so surprised to find out that there is no such functionality in the standard tier. I really needed this type of trigger and here is how I worked around the missing function and solved my problem easily. The problem I want to trigger a GitLab job when I merge a…

Gitlab

1 min read

How to trigger a Gitlab pipeline on merge
How to trigger a Gitlab pipeline on merge

Published in Dev Ghost Stories

·May 28, 2021

Must-Do Code Review Checklist

There are many articles about code review principles, benefits, and why we should do them. This one is a bit different. I’ll try to present my practical checklist on Code reviews in a very minimalistic way. This checklist is built on my experience and certainly does not include every possible…

Code

5 min read

Must-Do Code Review Checklist
Must-Do Code Review Checklist

Published in Dev Ghost Stories

·Apr 27, 2021

My 6 powerful debugging techniques that everyone should know

I’m sure every developer has their own techniques of debugging and problem-solving. Here I’m sharing the things that I do the most to solve complex problems. Some of them are very well known and others are just my ways of doing things(maybe they are well known as well, I’m just…

Productivity

6 min read

My 6 powerful debugging techniques that everyone should know
My 6 powerful debugging techniques that everyone should know

Published in Dev Ghost Stories

·Apr 22, 2021

Gitlab child pipeline with dynamic configuration in 5 minutes

I was extremely excited when this feature was introduced. It saved us tons of hardcoded configurations and hours of maintaining them because of their dynamic nature. It also helped us distribute better our jobs over the runners that we had. This feature is very useful in cases of testing or building with different environment variables. In the example that I’m showing, I have a testing…

Continuous Integration

2 min read

Gitlab child pipeline with dynamic configuration in 5 minutes
Gitlab child pipeline with dynamic configuration in 5 minutes

Published in Dev Ghost Stories

·Apr 15, 2021

From 60k to 500 errors per day with Sentry

Let me start by saying that 60 000 errors per day it’s a lot! When we first saw the logs, we weren’t even realizing how much that is. And it is not that bad only as a number but because in those 60k errors there might be hundreds of hidden…

Error Handling

4 min read

From 60k to 500 errors per day with Sentry
From 60k to 500 errors per day with Sentry

Published in Dev Ghost Stories

·Mar 25, 2021

Micro Frontends Architecture for slot games

Have you ever tried to search for Micro Frontends implementation for game development? And furthermore, have you ever tried to search for a “slot game architecture”?! There are tons of articles about Micro Frontends for web apps but when it comes to games, it’s just all silence. The Micro Frontends…

Micro Frontends

4 min read

Micro Frontends Architecture for slot games
Micro Frontends Architecture for slot games
Borislava Kirova

Borislava Kirova

Passionate developer. Software architect. Automation enthusiast.

Following
  • Olivia Anderson

    Olivia Anderson

  • Medium Creators

    Medium Creators

  • Jose Antonio Ribeiro Neto (Zezinho)

    Jose Antonio Ribeiro Neto (Zezinho)

  • Tim Denning

    Tim Denning

  • Marius Bongarts

    Marius Bongarts

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Knowable