fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

9.8K
active users

#createreactapp

0 posts0 participants0 posts today

Is #javascript module system still schizophrenic? I wanted to reuse some non-#React code from a #CreateReactApp project on the command line. But CRA uses import from .js files, so gotta switch "type" in package.json, but then it turned out some library used XMLHttpRequest, which isn't available from modules (?).

Anyway - what are best practices for #js command line apps? Should I just use #typescript now? If so, same question?

Probably won't reuse code and run python or R instead.

Wollt ihr auch #shadcnui in Eurer existierenden #CreateReactApp verwenden und findet die offizielle Anleitung dazu nicht so gut (Hinweis: Es gibt keine!), dann gibt es jetzt einen Artikel von mir

You want to use shadcn/ui in your existing Create React App (#CRA) and you don't find the official documentation for it (Hint: There is none), my new article might help

medium.com/@thomas.theiner/enh

Medium · Enhance your Create React App with shadcn/ui - Thomas Theiner - MediumBy Thomas Theiner

Should libraries handle themselves?

I'm working in a library for internal use. It will be acting as a utility wrapper for a larger library and will be used in two main use cases and custom projects. This is my first time building a utility library from scratch and was thinking of using Webpack to handle the bundling, tree shaking, and minification, and using for transpiling.

Is this necessary or should this even be done?