reactjs

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...
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
Problem
Here are the types for a ts test https://github.com/paularmstrong/normalizr/blob/master/typescript-tests/entity.ts#L11
Since in the normalized entities all relationships are all id type this should be string
instead of User
{
...
user: string
}
-
Updated
Jul 5, 2020 - JavaScript
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
 {
super
I didn't see any way to send this feedback from the website, so I'm posting here as an issue.
The installation docs lists the following clone url:
https://github.com/coreui/free-bootstrap-admin-template.git
when in fact it should be this repo's url:
<https://github.com/coreui/coreui-free-bootstrap-admin-template.g
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)
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
Speaker notes
Reading readme.md, the point "
We should use https://github.com/jonschlinkert/parse-github-url to intelli
v6 migration
#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
It would be nice to have a "kitchen sink" page with all the components displayed, would make discovering the components easier instead of having to click each link in the navigation one by one.
Is your feature request related to a problem? Please describe.
gdb features, such as whether reverse debugging is enabled, is currently guessed at by gdbgui.
Describe the solution you'd like
use -list-feature
instead of guessing gdb's features
-
Updated
Jun 12, 2020 - JavaScript
-
Updated
Jun 26, 2020 - CSS
-
Updated
Mar 17, 2020
-
Updated
Sep 3, 2019 - TypeScript
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
Sticky toast
"nerv-create-class": "^1.3.3",
"nerv-redux": "^1.3.3",
"nervjs": "^1.3.3",
"node-sass": "^4.9.2",
"prop-types": "^15.5.8",
"react": "^16.4.1",
"react-dom": "^16.4.1",
"react-loadable": "^5.5.0",
"react-redux": "^5.0.7",
"react-router-dom": "^4.2.2",
"redux": "^4.0.0"
'react': 'nervjs',
'react-dom': 'nervjs',
Expected Behavior
Using a line break or new line entry (shift-return or return) carries over to the invoice preview and generated PDF as displayed in the invoice creation view.
Current Behavior
-
Updated
Jul 5, 2020 - TypeScript
import Link from "next/link";
const MyLink = React.forwardRef((props, ref) => {
const { as, href, ...rest } = props;
return (
<Link href={href} as={as}>
<a ref={ref} {...rest} />
</Link>
);
});
function App() {
return (
<Nav>
<Nav.Item componentClass={MyLink}>link</Nav.Item>
</Nav>
);
}
Since Loop
doesn't say anything about rendering, maybe we could change this div to React.Fragment?
I'm happy to make a PR if it's okay.
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
Examples
Opening this issue in case anyone wants to help. Recently, we've configured Storybook to import files from __examples__
folders inside Reakit component folders. This is how we're doing it:
Thos
-
Updated
May 23, 2020 - JavaScript
Created by Jordan Walke
Released March 2013
Latest release 4 months ago
- Repository
- facebook/react
- Website
- reactjs.org
- Wikipedia
- Wikipedia
问题描述
最近使用
movable-view
做了一个拖拽排序的功能,但是由于需要touchmove
事件频繁setState
来更新movable-view
的坐标,导致Android
的上的性能体验很差,IOS
不会。看了微信的文档,这种情况可以使用
WXS
来解决,请问Taro
中能否使用WXS
?如何使用呢?