jsx
Aurelia is a next generation JavaScript client framework that leverages simple conventions to empower your creativity.
Here are 2,140 public repositories matching this topic...
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
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
Problem
Lacking the following implementation:
impl<T> Threaded for T
where
T: Agent<Reach = Private>,Implementation Tips
- Implementing
Threadedis a g
-
Updated
Jun 20, 2020 - JavaScript
Subject of the issue
When clicking a link in the documentation, the page flashes to light mode for a moment and then back t
I'm sorry to post an issue that is missing crucial evidence, but some debugging of a recent config loading bug makes me suspect that the react-rails railtie.rb may be modifying the load order of initializers, and preventing the values in Rails.application.config being as expected.
Whether this happens or not appears to be partly dependent on where in the Gemfile the react-rails gem is l
Babel Macro
It would be nice to have a babel macro that automatically runs the babel plugin to remove the runtime. That way, this project would work out of the box with "zero" config tools like create-react-app.
I'm thinking it could be something like:
import {html} from 'htm/preact/macro'This is similar conceptually to CSS-IN-JS libraries providing a macro for their tools. See https://e
To reproduce:
$ npm pack styled-jsx@3.2.4
npm notice
npm notice 📦 styled-jsx@3.2.4
npm notice === Tarball Contents ===
npm notice 6.1kB dist/.DS_Store
npm notice 599B dist/_constants.js
npm notice 22.3kB dist/_utils.js
npm notice 8.2kB dist/babel-external.js
npm notice 46B babel-test.js
npm notice 753B dist/babel-test.js
npm notice 41B babel.js
npm notice 10.4k "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',
Before undergoing a substantial to docs or the codebase, please open up an issue to make sure it's a desired change.
I'd like to improve the navigation in these ways:
- If the user clicks on
Read the docson the homepage, he/she will be redirect to https://blocks-ui.com/docs. I'd like to redirect to https://blocks-ui.com/getting-started/ as the starting point for the documentation. - High
-
Updated
Jun 21, 2020 - TypeScript
-
Updated
Aug 9, 2019 - JavaScript
I believe the summary element should be considered an interactive element and that there shouldn't be any errors thrown when a click listener is attached to it:
// currently flags the following:
// jsx-a11y/click-events-have-key-events
// jsx-a11y/no-static-element-interactions
<summary onClick={clickHandler} />[The spec does list details element as interactive](https:
If people are going to use onevent props we should probably have them typed to prevent no implicit any errors. Maybe we can take the typings from Preact or something similar? My one concern is that intrinsic elements are already sorta loosely typed (data-attrs can be of type any), and I don’t really see the value of typing intr
-
Updated
May 23, 2020 - JavaScript
-
Updated
Jun 14, 2020 - JavaScript
-
Updated
Jun 12, 2020 - Emacs Lisp
-
Updated
Jun 21, 2020 - TypeScript
-
Updated
Mar 26, 2020 - JavaScript
In /templates/tachyons, I'm not sure I understand what this means:
Be sure to include a link to Tachyons in your document:
<link rel='stylesheet' href='https://unpkg.com/tachyons@4.9.1/css/tachyons.min.css'>
What document?
The kit.config.js file
-
Updated
Jun 21, 2020 - JavaScript
Hi
The component I'm working on is supposed to attach a node to doument.body using createPortal from react-dom and it works perfectly fine outside of playground, but as soon as playgorund tries to run it the entire page freezes and I have to close the tab.
I get this message paused before potential out of memory crash with this line highlighted in the `react-dom-server.browser.developm
Blocked By: wix/vscode-glean#97
Example:
class Foo extends Component {
render() {
return (<div>
{this.props.foo.map((bar) => <div>{bar.x}</div>)}
</div>)
}
}
Current:
const Foo = props => {
const foo = useRef();
const x = useRef();
return <div>
{foo.current.map(bar => <div>{x.current}</div>)}
First things first, thanks for the amazing package.
Here is an example of the issue. I expected valid HTML elements would be included within the <p> tag.
Markdown
# Example
<strong>T</strong>his is a test
<Initial>T</Initial>his is anoter testReact
const Initial = styled.span`
font-sSimilar to palantir/tslint#4534... note that all formatting rule requests will be declined because we recommend using Prettier for code formatting.
You may also use this thread as a place to submit feedback about the state of eslint-plugin-react w/ TypeScript.
Update (June 2019): a more concrete roadmap timeline:
- August 1st, 2019: Stop accepting new
As of 2.2.0, mdx-loader:
- exports a
readingTimeobject which can be used to add a medium-style estimated reading time - supports specifying highlighted line ranges for code blocks, using the same syntax as Gatsby
This needs to be documented properly in the README.

Now that Prettier 2.0 has been released with its improved CLI, I think we should add a section do the docs showing a recommended example setup.
{}) .prettierrc.json to signify to edit