Menu

Post image 1
Post image 2
1 / 2
0

React and typescript components lib, part 1: setup rollup and publish

DEV Community: rollup·Eduardo Henrique Gris·about 1 month ago
#I9DAocz3
#dev#e97451#f8de7e#d3d3d3#class#code
Reading 0:00
15s threshold

Introduction Portuguese version: Biblioteca de componentes React e typescript, parte 1: setup rollup e publicação Over the past year, I have written articles about various React related topics. Now, the goal is to cover the fundamentals of creating a React library, divided into different parts, applying what was discussed last year along with some new topics: setting up rollup and publishing, using styled-components, adding typeScript, unit testing with Jest and testing-library, integrating eslint and prettier for code standardization, documenting with storybook, setting up pre-commit hooks with Husky, and automating code generation with Hygen. As I cover topics I've previously written about, I will reference those articles in the ones related to the library. For cases where a new version has introduced significant changes compared to what I previously wrote, I will first publish a dedicated article on the topic before proceeding with its implementation in the library.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More