-
Updated
Aug 10, 2022 - TypeScript
React
React (also known as React.js or ReactJS) is a JavaScript library that makes developing interactive user interfaces simple.
Here are 228,893 public repositories matching this topic...
React version: 17.0.1
Steps To Reproduce
- npx create-react-app my-app
- cd my-app
- npm start (Works like a charm)
- npm run eject
- npm i
- npm start (ReferenceError: React is not defined)
Link to code example: https://codesandbox.io/s/ecstatic-wood-ou6px
-
Updated
Aug 9, 2022
Verify canary release
- I verified that the issue exists in Next.js canary release
Provide environment information
Operating System:
Platform: win32
Arch: x64
Version: Windows 10 Home
Binaries:
Node: 16.13.0
npm: N/A
Yarn: N/A
pnpm: N/A
Relevant packages:
next: 12.1.7-canary.19
react: 18.1.0
react-
What problem does this feature solve?
I want to provide additional properties to a menu for example to make it better testable. This works but TS is reporting an error as the attribute 'data-test' does not exit in type ItemType.
const items: Array<ItemType> = [
{
key: 'exercises',
// @ts-ignore
'data-test': 'exercises',
icon: <Fa icon={faTasks} fixed
Duplicates
- I have searched the existing issues
Latest version
- I have tested the latest version
Current behavior 😯
When I augment IconButton with new colors:
declare module "@mui/material/IconButton" {
interface IconButtonPropsColorOverrides {
textPrimary: true;
textSecondary: true;
}
}and then try to use these colors:
<Hey friends!
If you're looking for a way to contribute to storybook's codebase, i might have a few small-ish tasks most people should be able to pick up!
We're in the process of migrating away from having custom scripts to prepare out packages for publishing to npm.
We've used babel and tsc to generate a modern, esm, and cjs output (in different directories.
We've picked a new
Preliminary Checks
- This issue is not a duplicate. Before opening a new issue, please search existing issues: https://github.com/gatsbyjs/gatsby/issues
- This issue is not a question, feature request, RFC, or anything other than a bug report. Please post those things in GitHub Discussions: https://github.com/gatsbyjs/gatsby/discussions
Summary
Previous issues:
- #25089
-
Updated
Aug 8, 2022 - JavaScript
-
Updated
Jul 29, 2022
-
Updated
Aug 9, 2022 - TypeScript
Time-series Bar Chart v2 does not update total values for stacked bar chart when toggling legends.
How to reproduce the bug
- Create a "Time-series Bar Chart v2"
- Go to "Customize" and select "Show value", "Stack series" and "Only total"
- Toggle series in legends
- The total value should update but it doesn't
The legacy Time-series Bar Chart does not have this issue.
We are currently adding Hyper CLI path to user PATH in Windows registry: https://github.com/zeit/hyper/blob/262eb8ad9b7b9b15351f331765151538d67a09e2/app/utils/cli-install.js#L49-L91
A caveat is that environment variables are cached and users should open and validate "Edit environment variables for your account" dialog to force a cache refresh (or simply reboot their workstation).
 Reproduction of issue in TypeScript Playground
-
Updated
Aug 10, 2022 - Go
-
Updated
Aug 8, 2022 - TypeScript
-
Updated
Aug 9, 2022 - JavaScript
-
Updated
Jul 29, 2022 - JavaScript
-
Updated
Aug 9, 2022
相关平台
微信小程序
小程序基础库: 2.23.3
使用框架: React
复现步骤
const Container = styled(View)position: fixed; background-color: #3578e5; right: 0; bottom: 24rpx; border-radius: 50%; display: flex; justify-content: center; align-items: center;
<Container
onTouchStart={onTouchStart}
c
-
Updated
Aug 9, 2022
🚀 Feature request
Current Behavior
The type ErrorMessage doesn't have an id property.
Desired Behavior
It'd be nice id?: string would be added to the type ErrorMessage and set on the outermost component that serves as error message.
Suggested Solution
Add id={this.props.id} to the outer component in ErrorMessage.
Who does this impact? Who is this
Disable TS
What is the problem this feature will solve?
whenever bun reads a tsconfig it doesn't understand a warning is presented, I guess that's ok if the intention is to use bun for compilation but it isn't very nice if I am simply using bun as a JS runtime.
What is the feature you are proposing to solve the problem?
A flag to disable ts processing, something like --disable-ts
What alte
sheet_to_csv skips the first blank line of a sheet, even with an explicit {blankrows: true} set.
Code sample:
var ws = XLSX.utils.aoa_to_sheet([
[ , , , , , , ],
["S", "h", "e", "e", "t", "J", "S"],
[ , , , , , , ],
[ 1, 2, , , 5, 6, 7],
[ 2, 3, , , 6, 7, 8],
[ 3, 4, , , 7,
-
Updated
Aug 8, 2022 - TypeScript
Describe the bug
After upgrading to v4 (and going through the migration guide) we get this warning (from webpack-dev-server):
"Compiled with problems:
WARNING in shared module react
No required version specified and unable to automatically determine one. Unable to find required version for "react" in description file (/path/to/project/node_modules/@tanstack/react-query-devtools/packa
Created by Jordan Walke
Released March 2013
Latest release about 2 months ago
- Repository
- facebook/react
- Website
- reactjs.org
- Wikipedia
- Wikipedia
Website or app
https://developer.chrome.com/blog/mv2-transition/
Repro steps
Use latest React DevTools with Electron (Chromium) (18.2.0 / Chromium 100)