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 32,452 public repositories matching this topic...

Rychou
Rychou commented May 6, 2019

问题描述
最近使用movable-view做了一个拖拽排序的功能,但是由于需要touchmove事件频繁setState来更新movable-view的坐标,导致Android的上的性能体验很差,IOS不会。

看了微信的文档,这种情况可以使用WXS来解决,请问Taro中能否使用WXS?如何使用呢?

参考文档: https://developers.weixin.qq.com/miniprogram/dev/framework/view/interactive-animation.html
https://developers.weixin.qq.com/miniprogram/dev/framework/performance/tips.html

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

hannojg
hannojg commented Aug 9, 2019

I have issues to get Reactotron working in my jest react-native test environment.
Before running a test I simply do
jest.mock("reactotron-react-native");, but then I receive an error stating
TypeError: Cannot read property 'useReactNative' of undefined
![Screenshot 2019-08-09 at 18 01 26](https://user-images.githubusercontent.com/16821682/62792504-bd64b080-bacf-11e9-96a8-0d33089332ac.pn

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 
sami616
sami616 commented Apr 10, 2020

Hi, i'm looking to use Emotion to style a react ui library (as a peer dependancy) and couldn't find any docs specific to this use case?

The docs talk about both emotion and @emotion/core but have left me a little confused as to which is preferred when using it in a codebase that will be consumed by another applications build step and what implications this might have when the consuming app

coreui-free-bootstrap-admin-template
redoc
gdbgui
chakra-ui
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?

00karthik
00karthik commented Jan 21, 2020

If I add editorState and mention together it breaks the editor

`<Editor
toolbar={toolbar}
editorState={editorState}
onEditorStateChange={onEditorStateChange}
mention={{
separator: ' ',
trigger: '@',
suggestions: [
{ text: 'APPLE', value: 'apple', url: 'apple' },
{ text: 'BANANA', value: 'banana', url:

reakit
WestonThayer
WestonThayer commented Jul 17, 2019

🚀 Feature request

Motivation

Similar to Reach UI, if the project declares what screen readers and browser combinations are tested, it gives adopters confidence that the components take into account different screen reader quirks to deliver the best UX.

Example

Quote from Reach UI:

Each component is tested with Safari + Voiceover, Firefox + NVDA

Created by Jordan Walke

Released March 2013

Latest release 26 days ago

Repository
facebook/react
Website
reactjs.org
Wikipedia
Wikipedia

Related Topics

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