react js Archives - ROXL

Tag Archives: react js

Library i18n

Commonly used library and approach for localization.

Read more

It is very important to have consistent import statements in your react projects, and to preserve relative paths hell, ex. ../../../utils/smth.ts looks much more ugly than ~/utils/smth.ts.

Unfortunately, latest versions of typescript support this trick worse and worse (I don’t know why, in fact).

Read more

Nowadays well-known @material-ui is a legacy package, and all it’s components were migrated to new @mui package. Previous is no longer maintainable, and new components appear only in @mui. So, it’s reasonable question for everyone: How to migrate to the new package?

Read more

Due my current work task i have a case – to call a modal created as a React-component from SharePoint Ribbon. In two words, SharePoint ribbon is a structure that contains buttons and js-functions binded for it. When you push the button, js function binded for it calls… hope you understand :). And i started to google: “how to interract with react module from outer js, how to change react state from outer js, force re-render react component from pure js” and so on…

Read more

Sometimes it happens that you React-project contains not only one true single-page application. Especially, if you create solution for already developed website with different frontend technologies been used on it before.

Read more

5/5