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 38,061 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

GiladShoham
GiladShoham commented Apr 14, 2020

Currently, if look at the windows_e2e tests on circle under the write e2e files step, you will see this warning:

Error autodetecting timing type, falling back to weighting by name. Autodetect no matching filename or classname.  If file names are used, double check paths for absolute vs relative.
Example input file: "e2e\\api\\add-many.e2e.1.ts"
Example file from timings: "C:\\Users\\****
Andarist
Andarist commented Nov 7, 2019

Would be great to provide a documentation section with practical examples on how we propose to handle various popular patterns which usually are solved by pseudo selectors, nested classes etc.

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
vincentdesmares
vincentdesmares commented Apr 25, 2020

#541 # Question

Hi, great job on the v6. It looks like a very nice upgrade.
Yet, when I tried to migrate one of my presentation I found some key features were missing:

  • With the progress now in the template, it's hard to be able to change its color per slide
  • The fun pacman-style progress is now a simple dot
  • The "fit" attribute was really a nice addition, from what I see it's not anym
chakra-ui
gdbgui
jwheeler-gs
jwheeler-gs commented Jul 11, 2019

I've recently upgraded from a much older version of react-toastify which allowed for customizing the default background colors for success/warning/error toasts. There does not seem to be an equivalent option or way to customize these default colors in the latest version. If there is, I could not find it in the documentation.

Is this feature still available or is there another workaround to allo

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 4 months ago

Repository
facebook/react
Website
reactjs.org
Wikipedia
Wikipedia

Related Topics

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