React
React (also known as React.js or ReactJS) is a JavaScript library that makes developing interactive user interfaces simple.
Here are 66,172 public repositories matching this topic...
React extension version: 4.4.0
Steps To Reproduce
- Install Firefox 72.0.2x64
- Go to Discordapp.com
The current behavior
Extension reports: "This page does not appears to be using React"
The expected behavior
React is detected (just like it is currently in Chrome/Chromium)
This is a good first PR!
We should add some tests to cover #7036. They should cover both JavaScript and TypeScript support.
They can probably be added to test/fixtures.
https://material-ui.com/components/menus/#simple-menu states:
Simple menus open over the anchor element by default (this option can be changed via props).
How can this be changed via props? The page doesn't say. I went to the Menu API page, and I don't see anything simple like open: 'below', or an offset.
Developers have been struggling to figu
Bug report
Describe the bug
When running next using Yarn 2 and visiting a page in the browser that doesn't exist, the 404 error page never shows up. Instead it loads forever ("waiting on localhost...") and then eventually errors with ERR_EMPTY_RESPONSE.
But the terminal shows that the page was compiled:
[ event ] build page: /next/dist/pages/_error
[ wait ] compiling ...
Summary
Enable the heading-increment rule to our remark-lint config.
Followup of #21919
Motivation
Headings should only increase 1 level at a time for accessibility.
Steps
- Delete the [line in `.rema
-
Updated
May 16, 2020 - JavaScript
Feature Request
Add a file named pull_request_template.md in the .github folder of the repository so that whenever a new PR is opened on the repository it follows the template.
-
Updated
May 19, 2020 - JavaScript
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
Before opening a new issue, please take a moment to review our community guidelines to make the contribution process easy and effective for everyone involved.
Description
A clear and concise description of what the bug is.
Steps to reproduce
Steps to reproduce the behavior:
(Add link to a dem
MobX 6
Hi folks, I've tinkered a lot about MobX 6 lately, so I want to layout the vision I have currently
Goals
🧨 1. Become compatible with modern ES standards
Let's start with the elephant in the room.
I think we have to drop the support for decorators.
Some have been advocating this for years, others totally love decorators.
Personally I hate to let decorators go. I think
const XLSX = require('xlsx');
const wb = XLSX.utils.book_new();
const ws = XLSX.utils.json_to_sheet([]);
XLSX.utils.book_append_sheet(wb, ws, 'Bug sheet');
ws.A1 = { t: 's', f: 'square' };
XLSX.writeFile(wb, 'formula.ods');The resulting .ODS file contains:
<table:table-cell table:formula="of:=square" office:value-type="string"><text:p>undefined</text:p></table
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
The usage guide pages for mapState and mapDispatch are amazingly good, and I frequently link them as references to answer people's questions.
However, we currently only have an API reference page for our hooks API. It's time we added some kind of a usage guide page for the hooks as well.
I'm not exactly sure what topics it should cover, but I'd like to hear suggestions.
- Add the react-beautiful-dnd package
Okay…
- Use the package
import { DragDropContext } from 'react-beautiful-dnd';
This is just an import statement…?
- Profit
🕺
How? Step 2 was just an import statement.
The rest of the doc goes into other topics. I'll have to dig around elsewhere to find out how to actually use it. It's not a helpful installation
Hi there! I wanted to propose adding the following badge to the README to indicate how many TODO comments are in this codebase:
The badge links to tickgit.com which is a free service that indexes and displays TODO comme
Current behavior
Hello, I would simply like to request that the documentation for find() (https://enzymejs.github.io/enzyme/docs/api/ShallowWrapper/find.html) be updated to reflect its snapshot-nature. For example, in a situation where clicking a button updates state under the hood...
// some set up code goes here.
const deleteButton = wrapper.find('[data-enzyme-id
.jsx instead of .js
Type of issue: (feature suggestion, bug?)
Suggestion
Chapter:
no-chapter
Why use .jsx instead of .js? It's not a best practice: facebook/create-react-app#87 (comment)
Describe the bug
The React Bootstrap Toast is rendered on the page as hidden, whereas the Actual Bootstrap Toast has display none. This is not only not conforming with the actual bootstrap implementation (of actually having display none when a toast is not displayed, by using the "hide" class on the toast root), but is also very annoying and breaking layouts.
To Reproduce
Steps to r
Do you want to request a feature or report a bug?
Bug
What's the current behavior?
In the docs, it says to use useMemo for the editor instance passed to the <Slate> component so it is "stable across renders". useMemo does not guarantee identity between renders (https:
🐛 Bug Report
I get a ReferenceError in Webpack while running yarn build to deploy the Hermes website.
I think it's due to monaco-editor-webpack-plugin but I'm not sure.
Have you read the Contributing Guidelines on issues?
Yes
To Reproduce
Note: I setup a branch that has the re
Copy Images
Current behavior
Once Boostnote becomes your primary source of documentation the need arises to retrieve this information, such as texts, snippets, links, images...
I happened to have a diagram stored as an image in Boostnote. The original file does no longer exist. I now need to share this image on a forum thread.
Expected behavior
Provide an option to extract images from notes.
The problem
Wrapping a TextInput in <TouchableWithoutFeedback onPress={Keyboard.dismiss}> prevents text input in web browsers. It works in the Android emulat
-
Updated
May 18, 2020 - JavaScript
I need to scroll to a certain part of the page, using hash routing. Something like:
/#/post/32#comment-id
This project seems to solve it for the react router, but it doesn't work with inferno:
https://github.com/rafrex/react-router-hash-link.
Here's the main source, seems like it could be easily adapted to the
Created by Jordan Walke
Released March 2013
Latest release 2 months ago
- Repository
- facebook/react
- Website
- reactjs.org
- Wikipedia
- Wikipedia



I noticed that @NitronR has added a ton of content to mostly the rosetta code section (thanks BTW). You can see a list of his PR's here. I did forum search for a couple of the challenges and it looks like guide pages have been created, but I noticed that the
forumTopicIdwasn't added to many of the chall