create-react-library VS tsdx

Compare create-react-library vs tsdx and see what are their differences.

create-react-library

⚑CLI for creating reusable react libraries. (by transitive-bullshit)

tsdx

Zero-config CLI for TypeScript package development (by jaredpalmer)
Our great sponsors
  • Appwrite - The Open Source Firebase alternative introduces iOS support
  • SonarQube - Static code analysis for 29 languages.
  • JetBrains - Developer Ecosystem Survey 2022
  • Scout APM - Less time debugging, more time building
create-react-library tsdx
5 33
4,693 9,845
- 2.4%
3.9 1.8
3 months ago 12 days ago
JavaScript JavaScript
- MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

create-react-library

Posts with mentions or reviews of create-react-library. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-12-12.
  • How are you bundling a React Component Library?
    9 projects | reddit.com/r/reactjs | 12 Dec 2021
    At first i thought that this was THE solution but looking deeper at the source code, this tool is a wrapper around a wrapper around a wrapper.... Don't get me wrong, it probably works, but it's currently using a rollup configuration that was created in 2018, the package itself has not seen any updates in 17 months and has 106 open issues. Also the owner says himself that he's not able to work that much on it anymore and suggest to use TSDX which in return hasn't been updated in several months, many open issues and extensive customization is recommended with patch-package which already in itself is a red-flag :(
  • Awesome React Resources
    34 projects | dev.to | 4 Dec 2021
    create-react-library - CLI for creating reusable, modern React libraries using Rollup and create-react-app.
  • Build your own styled-components
    2 projects | dev.to | 4 Aug 2021
    Using create-react-library to scaffold a React component library.
  • How Did I build My First React Package
    3 projects | dev.to | 13 Jun 2021
    create-react-library
  • Looking for recommendation for react component starter
    2 projects | reddit.com/r/react | 16 Jan 2021
    Just found this: https://github.com/transitive-bullshit/create-react-library

tsdx

Posts with mentions or reviews of tsdx. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-05-06.
  • How to include dependent types in library build?
    2 projects | reddit.com/r/typescript | 6 May 2022
    I'd just add the types as a dependency but if you want to bundle them then afaik https://github.com/jaredpalmer/tsdx can do it (though I have never tried).
  • Turborepo 1.2: High-performance build system for JavaScript & TypeScript monorepos
    1 project | reddit.com/r/javascript | 9 Apr 2022
    We've tried to get answers / offer help over (https://github.com/jaredpalmer/tsdx/issues/1058) and over (https://github.com/jaredpalmer/tsdx/issues/1065). But each time we get no response. Each question is ignored.
  • How to create and publish a TypeScript package.
    2 projects | dev.to | 6 Feb 2022
    We will be using TSDX in this guide as it provides all the necessary dependencies. You can change the name currency-symbol-generator to your own package name, as it will generate a package.json with the same name.
  • Looking for a TSDX alternative - any recommendations πŸ™ƒ?
    2 projects | reddit.com/r/webdev | 17 Jan 2022
    TSDX is no longer maintained - but it was really nice! Is there any project out there that does something similar?
  • trouble understanding/implementing tree shaking
    1 project | reddit.com/r/webpack | 7 Jan 2022
    My company has a component library that we package up with tsdx, publish to our org's GitHub package registry, and consume in various applications. The library makes some use of icons from a package called @icons/material. Until recently, all icons were used by importing a default export, like:
  • Why TurboRepo Will Be The First Big Trend of 2022
    2 projects | dev.to | 27 Dec 2021
    The origin story of TurboRepo started with this looongstanding open issue on TSDX from Nate Moore:
  • Understanding nouns with tinyplural
    3 projects | dev.to | 27 Dec 2021
    TSDX is a great package for npm packages like this and even bundles with size-limit to check your gzipped final bundle size. Keeping a tiny package was really important to me so there are 0 dependencies and size-limit made me realise that simplifying all of my checking functions into 1 or 2 core functions that took options would be a better strategy and help reduce the code size.
  • How are you bundling a React Component Library?
    9 projects | reddit.com/r/reactjs | 12 Dec 2021
    At first i thought that this was THE solution but looking deeper at the source code, this tool is a wrapper around a wrapper around a wrapper.... Don't get me wrong, it probably works, but it's currently using a rollup configuration that was created in 2018, the package itself has not seen any updates in 17 months and has 106 open issues. Also the owner says himself that he's not able to work that much on it anymore and suggest to use TSDX which in return hasn't been updated in several months, many open issues and extensive customization is recommended with patch-package which already in itself is a red-flag :(
  • Awesome React Resources
    34 projects | dev.to | 4 Dec 2021
    tsdx - Zero-config CLI for TypeScript package development
  • I tried to create a TypeScript monorepo, I give up.
    4 projects | reddit.com/r/typescript | 4 Nov 2021
    I've had luck with https://tsdx.io/ for a component library. It's really easy to use and was able to publish to npm (self hosted nexus) pretty seemlessly!

What are some alternatives?

When comparing create-react-library and tsdx you can also consider the following projects:

Microbundle - πŸ“¦ Zero-configuration bundler for tiny modules.

turborepo - The High-performance Build System for JavaScript & TypeScript Codebases

parcel - The zero configuration build tool for the web. πŸ“¦πŸš€

esbuild - An extremely fast JavaScript and CSS bundler and minifier

create-react-app - Set up a modern web app by running one command.

twin.macro - πŸ¦Ήβ€β™‚οΈ Twin blends the magic of Tailwind with the flexibility of css-in-js (emotion, styled-components, stitches and goober) at build time.

rollup-react-example - An example React application using Rollup with ES modules, dynamic imports, Service Workers, and Flow.

nx - Smart, Fast and Extensible Build System

Tailwind CSS - A utility-first CSS framework for rapid UI development.

Next.js - The React Framework

semantic-release - :package::rocket: Fully automated version management and package publishing

deno - A modern runtime for JavaScript and TypeScript.