Joshua Chen

Results 183 issues of Joshua Chen

**What**: This PR adds `children: ReactNode` to the props of `WrapperComponent`. **Why**: [Docusaurus](https://github.com/facebook/docusaurus) is doing something a bit weird: we are using React 17, but at the same time, we...

`React.Component` is something like `function Comp() {...}` or `class Comp extends Component`, while `React.ReactElement` is like ``, the "return value" of a component. This has blocked me from doing something...

With a lot of CSS refactors / polishings under the way, we should find a way to ensure they don't regress. Testing CSS on Infima is much easier than Docusaurus,...

Requested on Canny: https://docusaurus.canny.io/feature-requests/p/stepper-component > Would be nice to have a stepper component (like https://mui.com/components/steppers or https://garden.zendesk.com/components/stepper, but more integrated with Docusaurus and its theme) for step-by-step instructions. I think...

Our dark mode background is too dark. While it's fine for the Docusaurus website because the text is relatively sparse, as soon as the text gets dense, it literally hurts...

From the discussion: https://github.com/facebook/docusaurus/discussions/5749 Currently we reuse the Infima `alert` class name in Docusaurus, which is too noisy (blue background). There seems to be a few good designs proposed in...

While working on https://github.com/facebook/docusaurus/pull/7586, `eta` was one of the packages blocking a successful compilation. **To Reproduce** `yarn add typescript eta` tsconfig.json: ```json { "compilerOptions": { "module": "NodeNext", "moduleResolution": "NodeNext", "strict":...

help wanted

## Motivation Consider the following code: ```ts import type { ComponentType } from "react"; /** @see {@link ComponentType} */ export type Foo = number; ``` TypeScript compiler understands that `ComponentType`...

enhancement
help wanted

Two repros: ````jsx ```java class Hi { public static void main(String args[]) { console.log("Hi"); } } ``` ```` ![image](https://user-images.githubusercontent.com/55398995/135869706-f3cf6025-47f2-4f38-85ac-3e5e69125912.png) ````jsx ```bash website//docs ``` # Title ```` ![image](https://user-images.githubusercontent.com/55398995/135869762-2480c53b-ec05-4c4a-8c1a-aed4d960d782.png)

Hi, we at MDN are considering [adopting ESLint for our code examples](https://github.com/mdn/mdn-community/discussions/158). We have got some initial success at fixing thousands of syntax errors / stylistic issues. However, we have...

evaluating
feature