React
React (also known as React.js or ReactJS) is a JavaScript library that makes developing interactive user interfaces simple.
-
- Sign up for GitHub or sign in to edit this page
- Created by Jordan Walke
- Released March 2013
- Latest release 15 days ago
Here are 69,936 public repositories matching this topic...
Do you want to request a feature or report a bug?
I want to report a bug.
What is the current behavior?
Event handlers on elements are fired twice, when hovering from one element onto the next.
**If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. Your bug will get fixed much faster if we can run your code and i
Is your proposal related to a problem?
This is a follow-on from #7248. Right now, we don't support JSONC (JSON with comments) in jsconfig.json files.
Describe the solution you'd like
After a discussion with @iansu, we see two paths:
- Implement the same solution as we did for TypeScript. This is easy, but would require us making TypeScript a dependency of
react-scripts.
- I have searched the issues of this repository and believe that this is not a duplicate.
What problem does this feature solve?
We have a case like this: after the onChange event emit, we will validate the targetKeys , if the validation has error, we hope there will be a red border at the outside of the targetKeys list, and the e
Is it more preferable to use @material-ui/core/styles instead of @material-ui/styles if material-ui is used?
Also according to the Minimizing Bundle Size Guide, anything below 2nd level import is considered private and can cause module duplication in your bundle. So should I import makeStyles like this to minimize bundle size?
https://github.com/storybookjs/presets/blob/master/packages/preset-storysource/index.js
- Move the preset from the presets repo into this package
- Update it to use
source-loader - Update docs
Bug report
Describe the bug
If you defined a pages/_document.js with getInitialProps, and return styles, you get this error when loading the app with ?amp=1 in the URL:
Error: Cannot read property '__html' of undefined when defining a custom Document.getInitialPropsTo Reproduce
Use the _document.js from Material UI's example here: https://github.com/mui-
Summary
There are a ton of opportunities for small improvements to the Gatsby Docs that Hacktoberfest fans could take on. For folks new to open source, here are some ideas for contributing to the docs to make them adhere to the Gatsby Style Guide:
- Update Markdown docs titles to use [Title Case
The FreeCodeCamp.cn(FCC China) open source codebase and curriculum. Learn to code and help nonprofits.
-
Updated
Oct 18, 2019 - 8 commits
- CSS
A collection of awesome things regarding React ecosystem
-
Updated
Oct 18, 2019 - 1 commits
📜 33 concepts every JavaScript developer should know.
-
Updated
Oct 18, 2019 - 352 commits
- JavaScript
Visual primitives for the component age. Use the best bits of ES6 and CSS to style your apps without stress 💅
-
Updated
Oct 18, 2019 - 2 commits
- JavaScript
Awesome React Native components, news, tools, and learning material!
-
Updated
Oct 18, 2019 - 1 commits
- JavaScript
I have an email signature that deeplinks to "tel:" and "skype:". I'd like to keep link tracking on, but the link tracking does not work on the skype link when it is sent through as when the deeplink is redirected, it garbles the uri. "skype:" becomes "https://link.nylas.com/link/...?redirect=**skype%3A{username}%3Fchat**&r=cnVhZGhhbkBnbWFpbC5jb20="
It would be nice to be able to either fix this,
I'm confused about whether onFocus/onBlur events should bubble in preact, like they do in React.
In this example using preact 10.0.0-beta.1 they don't bubble https://codesandbox.io/embed/5wxk9zk7lx
...whereas in the Preact repl they do bubble https://preactjs.com/repl
export default () =>(
<div onFocus={() => console.log("FOCUS")}>
<div>
Focus this input
:fire: A highly scalable, offline-first foundation with the best developer experience and a focus on performance and best practices.
-
Updated
Oct 18, 2019 - 1 commits
- JavaScript
问题描述
创建FunctionComponent类型的页面,设置页面的config时不方便,希望在官方的FunctionComponent中加入config的类型定义
复现步骤
现在通过新建的taroPatch.d.ts实现的
import Taro from '@tarojs/taro'
declare module '@tarojs/taro' {
interface FunctionComponent {
config?: Taro.Config
}
}
期望行为
直接在node_modules\@tarojs\taro\types\index.d.ts中加入config类型定义
报错信息
 twice, even though it was a small thing.
If we were about to copy those files, how do we ensure people will edit the right one?
Is it really that problematic with Docusaurus to reference the one from the root folder? Some sort of aliasing?
Curated List of React Components & Libraries.
-
Updated
Oct 18, 2019 - 351 commits
A terminal emulator for the 21st century.
-
Updated
Oct 18, 2019 - 2 commits
- TypeScript
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
material-ui bindings
📖 Documentation
Both, formik and material-ui are two very prominent libraries.
https://github.com/stackworx/formik-material-ui is a binding to ease the use of formik with material-ui and I think it's worth mentioning this in the docs.
The current React-Redux docs aren't very helpful, for a lot of reasons:
- They're just a Markdown file in the repo, instead of being published in HTML form
- It feels very "dense" and jargon-heavy
- It doesn't clearly lay out the various options for
connectand ways that you can use it - It's primarily in API reference form, rather than a "how to"
We do also have the "Using React with R
I noticed a bug in the html_to_sheet function. When reading cells that are empty, the cell index is correctly incremented, but if the cell has HTML tags and is observed to be empty after stripping the tags, the cell index is not incremented. This results in misalignment of the subsequent cells:
https://github.com/SheetJS/js-xlsx/blob/e3c5eac99c3b2be6929adfca455c1be87fab792b/xlsx.js#L18956-L18
Learn about react
- Repository
- facebook/react
- Website
- reactjs.org
- Wikipedia
- Wikipedia



to reproduce: