HN user

slorber

231 karma
Posts29
Comments131
View on HN
tiktok.github.io 5mo ago

Sparkling – The Lynx-based cross-platform infrastructure behind TikTok

slorber
1pts0
github.com 11mo ago

GitHub Actions now supports YAML anchors

slorber
1pts2
norahsakal.com 1y ago

Naive RAG is dead – long live agents

slorber
2pts0
docusaurus.io 2y ago

Docusaurus 3.0 – React Static Site Generator by Meta

slorber
6pts4
docusaurus.io 2y ago

Upgrading front end dependencies with confidence with visual regression tests

slorber
2pts0
tchayen.com 3y ago

How to Write a Flexbox Layout Engine

slorber
4pts0
results.stateofreactnative.com 3y ago

State of React-Native – Survey Results

slorber
1pts0
contra.com 3y ago

Rewriting tests from Cypress to Playwright using GPT3

slorber
3pts0
thisweekinreact.com 3y ago

UseSyncExternalStore() – The Underrated React API

slorber
1pts0
docusaurus.io 3y ago

Docusaurus 2.0

slorber
202pts140
medium.com 4y ago

Airbnb’s CSS Trip: from Sass to Linaria (no-runtime CSS-in-JS lib)

slorber
2pts0
cpojer.net 4y ago

Building a JavaScript Bundler

slorber
51pts8
shopify.engineering 4y ago

Shopify explains how/why they built a React framework

slorber
12pts0
www.shopify.com 4y ago

Shopify Hydrogen: Developer Preview

slorber
1pts0
github.com 5y ago

Jamstack: Each static host serve HTML files differently

slorber
2pts0
v2.docusaurus.io 5y ago

Show HN: We released Docusaurus internationalization: translate your docs easily

slorber
12pts0
devblogs.microsoft.com 5y ago

TypeScript 4.2 Beta

slorber
2pts0
bloodyowl.github.io 5y ago

ReScript/ReasonML static site generator

slorber
2pts0
reactnative.dev 5y ago

Show HN: ReactNative Website Upgrade (dark mode, SPA...)

slorber
1pts1
daily.sebastienlorber.com 5y ago

I can't write a JavaScript for loop, and it does not matter

slorber
3pts0
sebastienlorber.com 5y ago

Records and Tuples for React

slorber
7pts5
twitter.com 6y ago

Show HN: ReactNative macOS tray app running my MDX blog post

slorber
4pts1
sebastienlorber.com 6y ago

Show HN: I run ReactNative/Expo inside a Gatsby blog post

slorber
2pts1
sebastienlorber.com 6y ago

Atomic CSS-in-JS, Used by Facebook and Twitter

slorber
1pts0
twitter.com 6y ago

Running Expo Inside Gatsby

slorber
1pts0
sebastienlorber.com 6y ago

Handling API request race conditions in React

slorber
3pts0
github.com 8y ago

React: most easy way to manage a spinner for a deeply nested button

slorber
1pts0
news.ycombinator.com 8y ago

React-reboot: simplest way to update the syntax of your old React components

slorber
3pts1
github.com 10y ago

Rereduce: reducer library for Redux

slorber
2pts0

We have been waiting for years to have that typical Yaml feature.

This lets you create variables in your Yaml actions workflows that you can reuse later, including more complex data structures like objects and lists that you can spread into jobs.

TLDR: less duplication, although the syntax is a bit awkward.

p5.js 2 years ago

Impossible yet it often happens the same old link gets featured everywhere at the same time :)

Docusaurus maintainer here

I agree the md editing story for non-dev contributor is not great.

You can try a git based CMS like Tina, they have a Docusaurus starter/example.

StackBlitz web publisher is also a good solution, allowing you to run Docusaurus directly in the browser in a very simple interface allowing you to commit or send PRs easily. No need to install nodejs locally, and you get a real preview.

Thanks! I'm not the original author but maintain it since mid 2020.

Meta has always been involved, the project was created internally at Meta around 2016 to replace a Jekyll docs boilerplate that was difficult to manage when deploying hundreds of docs.

Hey there

I work for Meta Open Source, maintaining Docusaurus. It's a SSG that let's you focus on writing content (Markdown/MDX) and will help you ship flexible and beautiful docs and blog static sites.

We just released a new major version of Docusaurus, after 1 year of work once v2.

Let me know if you have any questions

we click a play button to start an elixir runtime based on that metadata code block

Can you show a concrete example? IE a real production url running this?

What is "metadata"?

In Docusaurus you can have a live playground evaluating on your browser, or you can embed any embeddable playground if it requires a server integration.

with this component, we then issue commands to inspect state, manage elixir "processes" in the runtime, etc

Another example would be useful.

So this is just an embedded widget to interact with something remote? Why can't this be built as a React component that you can add to any Docusaurus page?

---

It looks to me that you don't need maintainer knowledge to build that, and React knowledge is enough.

After reading this article, I'm still not sure to understand what Livebook is.

Can someone show me a real production url of what is possible to achieve in Livebook and impossible/difficult to achieve with other tools?

I'm the Docusaurus maintainer, and making your docs interactive, and giving the ability to run the documented project inside its doc does not feel like something new.

Hey, Docusaurus maintainer here.

I'm not sure to understand what you mean by "Docusaurus is static". Docusaurus builds static pages and allows you to plug JS/React code anywhere in your docs, so it's quite interactive and can run anything that can run in a browser, including REPLs.

I read the Fly article but still don't really understand what Livebook is about. They say they use Livebook themselves, but the examples linked to only display a regular non-interactive doc to me.

Do you have any production url showing me an experience that is possible in Livebook, and impossible in Docusaurus?

File over app 3 years ago

As the Docusaurus maintainer, I stand by behind these ideas. Markdown is a portable format, and I'd like to make Docusaurus/Obsidian work well together in the future.

Sorry from the Docusaurus team.

It's taking a long time because there are edge cases to figure out if we don't want the upgrade to be painful for certain sites, notably the ones using anchor links or i18n. It's not far from the end so hopefully mdx2 will be merged soon.

Docusaurus is a great way to start a static blog. Give it a try!

Lots of features included: RSS, sitemaps, multi author, regular/guests, tags, unlisted/draft, i18n, accessibility, very customizable...

My newsletter is based on it: https://thisweekinreact.com/ I edit content there first in Markdown and then copy paste to ConvertKit

Docusaurus maintainer here. I don't really understand what you mean, considering we don't have official support for API documentation, but have a plugin system allowing you to build your own support.

And we have a few OpenAPI plugins, and redocusaurus.

A Docusaurus plugin MDX makes it possible to implement this with client-side React in case you want to create an interactive client alongside editorial text content.

See what Courier did just using React in MDX, and without any Docusaurus plugin: https://www.courier.com/blog/how-we-built-our-documentation/ https://www.courier.com/docs/reference/send/message/ (their site is opensource)

Hey, I'm the maintainer of Docusaurus

For what it's worth, I'd really like to build a Second Brain, Obsidian, Digital Garden, Zettelkasten plugin, at least for myself. We have the infra to make it possible as a plugin, and you can probably hack the docs plugin to add [[keyword]] as a link to a doc tag page in the meantime (using a custom remark plugin)

Images can be co-localized with the content, although it increases the size of your Git repo over time