React

Send props from Child class component to Parent state component in React App

In this example here will be the mixed scenario. The parent component has states, and the child component. It’s the mixed implementation. Of course, usually you make everything in the same style, but there are situations, when you need the mixed implementation. Read more»

React

Fix the warning ‘The value provided to Autocomplete is invalid’ for MUI Autocomplete

Material UI

For the development of a Ract component I used MUI Autocomplete. I got the array of objects from SharePoint list and used this data as a parameter for options. Actually, you can use any source.But I had a lot of warnings in console. MUI: The value provided to Autocomplete is invalid.None of the options match […] Read more»

React

How to replace deprecated InputLabelProps in MUI 6

Material UI

I used a TextField component in MUI and wanted to make a label always visible. By default, it hides, when cursor is out (onBlur) and the value is empty. Very strange and not what I wanted to. Read more»

React

Effective join of array of objects with filtering by condition into a string

To pass parameters via Get, it was necessary to assemble a string from the selected Checkbox values. In the project, I used Checkbox from Fluent UI, but the approach is similar for another component. Actually, this is not even about React, but about TypeScript. Read more»

React

German localization of FluentUI DatePicker

DatePicker with German localization

As it turned out, FluentUI DatePicker for React doesn’t contain a built-in German localization. If you need one, you can use my version. Read more»

React

Customize Filter Styles in DataGrid MUI

Material UI

If you want to customize the styles for filter panels in DataGrid from Material UI (MUI), you need to know, where it is. And only so. To update these styles you can only with the object properties. Read more»

React

CDN with International flags in SVG

flags

I found a very cool collection of flags in SVG format. It can be used as CDN or added to a project with npm. The library is called ‘flag-icons’. The flags are in 2 formats – 4×4 and 1×1. Read more»

React

How to compare 2 Dates in TypeScript / JavaScript

Javascript logo

The Date is an object in JavaScript and TypeScript. When you have some spare time, try to compare 2 objects, you will find a lot of interesting things 🙂 Obviously, you need to compare not object, but their properties. Read more»

React

Improve Site Quality with Lighthouse

Sometimes I like to use calculate different measures for one or another site. Last weekend I read about Lighthouse – it’s a part of DevTools in Google Chrome. I have already forgotten that I have such a powerful tool in my pocket and don’t use it. What is Lighthouse? Lighthouse is an open-source, automated tool […] Read more»

React

Popular Posts