React
React (also known as React.js or ReactJS) is a JavaScript library that makes developing interactive user interfaces simple.
Here are 69,596 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
Our docs relating to GraphQL sometimes have CodeSandbox samples where viewers can edit their query. However, these pages are represented in the markdown as raw iframes and are quite ugly:
<iframe title="A basic query" src="https://7118
-
Updated
Jul 8, 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
Jul 6, 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
Taro能使用wxs吗?
问题描述
最近使用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
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
There is a difference in safegetzipfile method between xlsx.js & xlsx.mini.js.
One is missing replace(/^Root Entry[\/]/,"") so I get this error "Cannot find file [Content_Types].xml in zip" ev
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
- 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
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.
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)
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:
I am a new user and as soon as I found out about what this does it opened up a whole new set of things I could do with react-bootstrap.
🐛 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
Adding keyboardType="numeric" to TextInput breaks the custom validation on Firefox and allows letters to be typed.
How to reproduce
<!
-
Updated
Jun 20, 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 4 months ago
- Repository
- facebook/react
- Website
- reactjs.org
- Wikipedia
- Wikipedia
Describe your problem and how to reproduce it:
This is expected to work, and it works in the preview.
There is a space before and after the
=symbol.