Skip to content
#

reactjs

react logo

React (also known as React.js or ReactJS) is a JavaScript library that makes developing interactive user interfaces simple.

Here are 33,007 public repositories matching this topic...

Mickey-
Mickey- commented Oct 28, 2019

如题,有时重新翻文档时突然发现某些地方更新了。

相比版本更新的很多内部优化,但凡文档更新大都是需要开发者关注的。
当某天重看文档时,面对一篇几千内容的文档,一段重要内容的一行文案变更,或者某个大类的角落摸摸增加了一小段子类目,实在难以查别

langpavel
langpavel commented Oct 24, 2017

Too wide (and falsy) segregation of GraphQL Types and Resolvers

The first example of this is new ObjectType in src/data/queries/index.js importing fields.
Fields should be taken in context of parent type, not as standalone information.

This can ensure some users that custom types cannot have own field resolvers which is false.

In fact, much of fields which can have own resolvers

XenorPLxx
XenorPLxx commented Jan 15, 2019

Hello!

Reactotron provides nice feature of exporting whole API calls to markdown, which I've noticed recently and started using heavily to communicate bugs to backend developers.

Would be great if those markdown exports also included local timestamp, as it'd allow backend developers to correlate my logs with theirs. It's especially important for timeout cases where I don't have any of their

KutnerUri
KutnerUri commented Mar 24, 2020

I have a component with types and jsdocs:

export type ButtonProps = {
  /**
   * explicitly toggle loader on and off
   */
  loading?: boolean;
} & React.ButtonHTMLAttributes<HTMLButtonElement>;

/**
 * Base button, with very basic styles. Accepts all parameters of native html button.
 * If onClick returns a promise, BaseButton will show a loader automatically, until the promise is 
sassanh
sassanh commented Feb 11, 2020

Current behavior:

When I add

declare module '@emotion/react' {
  export {Theme} from 'somewhere';
}

typings for theme prop is correctly set, but whenever type of styled(Element) becomes StyledComponent<any, {}>. If I remove the above declaration, the type of styled(Element) becomes

StyledComponent<Props & etc>

which is correct.

Al

coreui-free-bootstrap-admin-template
redoc
baohx2000
baohx2000 commented Feb 6, 2020

Just a FYI when people start trying to submit bugs about this, mobx-react shipped a funky build which is causing broken-ness (at least when using redoc-cli bundle)

mobxjs/mobx-react#831

Currently breaks with an error like:
Cannot find module '..../.npm/_npx/1868/lib/node_modules/redoc-cli/node_modules/mobx-react/dist/mobxreact.js (added for searchability)

Can

spectacle
on3iro
on3iro commented Apr 22, 2020

Question

Hey guys, I just wanted to get started with spectacle, but the docs are confusing me quite a bit.
These are the issues i am having:

  1. "Getting Started with Development" - this paragraph tells me, that all my source files have to be inside the src/ dir. So far so good. But this also reads a bit like there should already be such a directory after installing spectacle with `yar
gdbgui
mxdi9i7
mxdi9i7 commented Mar 23, 2018

I see that there is documentation on various webpack/babel configuration but the building process is missing from documentation. Wouldn't it be better if there's a couple of paragraphs added to the docs to go over the build process?

jacobedawson
jacobedawson commented Feb 16, 2020

Not a bug per se, but a clarification seeing that the docs aren't very up-to-date. If you need to set focus on the editor on render (e.g. on first page load), with functional components you can do it like this:

import React, { useRef, useEffect } from "react"
// other stuff

const editorReference = useRef();
useEffect(() => {
  editorReference.current.focusEditor();
}, [editorReferen
reakit

Created by Jordan Walke

Released March 2013

Latest release about 1 month ago

Repository
facebook/react
Website
reactjs.org
Wikipedia
Wikipedia

Related Topics

angular react-native vue
You can’t perform that action at this time.