Posts with tag: #typescript

Understand and use composition in React

2021-07-09 — Written by Fabien Schlegel
#javascript#typescript#React

Composition is very powerful in React but for some cases, it may be hard to use. Today I will give you examples of composition caught up in real projects.

Read More →

Why I create my first NPM package

2021-07-04 — Written by Fabien Schlegel
#npm#typescript#React

A useful practice when you work with a specific stack, is to create generic stuff for this stack.

Read More →

How to test React Hooks

2021-05-20 — Written by Fabien Schlegel
#javascript#typescript#React#hooks

When you use hooks, you can write them in their own file. And you could test them.

Read More →

Five tips about React hooks

2021-05-14 — Written by Fabien Schlegel
#javascript#typescript#React#hooks

Today, when you use React and functional components, you need hooks. Work with hooks is easier than class components, I've encountered some issues during development and today, I want to share my solutions with you.

Read More →
© 2021 Fabien Schlegel