jsx
Aurelia is a next generation JavaScript client framework that leverages simple conventions to empower your creativity.
Here are 2,054 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
Please support for dynamic changes to the HTML elements inside html macro,so that the following compiles:
fn view(&self) -> Html {
html! {
<{self.props.tag}>
<h2>{self.props.title}</h2>
</{self.props.tag}>
}
}
-
Updated
May 18, 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
Aug 9, 2019 - JavaScript
-
Updated
May 22, 2020 - TypeScript
I also see the issue with:
<label>foo<meter /></label><label>foo<output /></label><label>foo<progress /></label>
Workaround
Add the following to your .eslintrc.js
module.exports = { rules:
'jsx-a11y/label-has-associated-cont-
Updated
May 23, 2020 - JavaScript
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
Apr 16, 2020 - JavaScript
-
Updated
May 1, 2020 - Emacs Lisp
-
Updated
May 20, 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
Mar 26, 2020 - JavaScript
-
Updated
May 19, 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.


Hi,
I'm looking for something like .prettierignore but on a global level, i don't want to copy that file to every new directory i make just to ignore 1 file extension which isn't supported anyway.
AFAIK this isn't supported right?
BTW the extension in this case is EJS which prettier thinks is JS and some other stuff so the best way really is to ignore .ejs as a whole.