News for hackers. Stuff that matters.
Re:Cerulean: Experimental micro-blogging app for Matrix by jiofih on Friday December 18, 2020 @03:31PM (#25471554)
> It has zero dependencies (other than React)

Well, if you’re gonna draw the line there... React alone and the tooling it requires already gives you about 1400 dependencies. That is not what people mean by “zero dependencies”, especially choosing the framework that is one of the worst offenders.

Re:Cerulean: Experimental micro-blogging app for Matrix by Arathorn on Friday December 18, 2020 @04:13PM (#25472105)
sigh the point is that the interesting bit is the Matrix client, and we are not cheating and using some preexisting Matrix SDK but doing it all raw so people can see how it works.

The web framework is irrelevant.

Re:Cerulean: Experimental micro-blogging app for Matrix by akx on Friday December 18, 2020 @04:17PM (#25472155)
> React alone and the tooling it requires already gives you about 1400 dependencies

When you throw around FUD like this, can you please also give us some credible sources? You can use cdnjs to get react and react-dom in exactly 2 .js files.

Re:Cerulean: Experimental micro-blogging app for Matrix by progval on Friday December 18, 2020 @04:54PM (#25472537)

  $ npm install https://github.com/matrix-org/cerulean
  [71 lines of logs]
  added 2371 packages from 808 contributors in 62.487s
Re:Cerulean: Experimental micro-blogging app for Matrix by Arathorn on Friday December 18, 2020 @05:00PM (#25472596)
heh, that’s because the dev dependencies (prettier and the test suite) have been accidentally added as runtime deps.

but seriously, the amount of deps react has is really not the point i was making on the blog post...

waves arms helplessly

Re:Cerulean: Experimental micro-blogging app for Matrix by Arathorn on Friday December 18, 2020 @06:27PM (#25473388)
> heh, that’s because the dev dependencies (prettier and the test suite) have been accidentally added as runtime deps.

fixed - thanks akx (and congrats on the first PR to cerulean :D)! https://github.com/matrix-org/cerulean/pull/30

Re:Cerulean: Experimental micro-blogging app for Matrix by dstaley on Friday December 18, 2020 @04:58PM (#25472577)
Once built, the only frontend dependency is React. Most of those packages are tooling related to the build process.
Re:Cerulean: Experimental micro-blogging app for Matrix by progval on Friday December 18, 2020 @05:03PM (#25472623)
> Most of those packages are tooling related to the build process.

So? jiofih's claim was about "React alone and the tooling".

Re:Cerulean: Experimental micro-blogging app for Matrix by homarp on Friday December 18, 2020 @04:57PM (#25472570)
Re:Cerulean: Experimental micro-blogging app for Matrix by akx on Tuesday December 22, 2020 @07:11AM (#25505510)
That is visualizing source files _within_ a package, not cross-package dependencies.

Entirely different beasts.