Skip to content
#

jsx

aurelia logo

Aurelia is a next generation JavaScript client framework that leverages simple conventions to empower your creativity.

Here are 2,751 public repositories matching this topic...

yew
nick-at-hawkfish
nick-at-hawkfish commented Jan 27, 2020

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

eliotsykes
eliotsykes commented Oct 3, 2019

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

ChALkeR
ChALkeR commented Jan 7, 2020

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
solid
ryansolid
ryansolid commented Nov 15, 2020

Not really up to date on this. I'm much more of just throw something together in Jest/Mocha type. But I think this should not be overlooked. I'd love to see a Solid port of Testing Library. I think this is currently a gap in the narrative for Solid. I'm interested in understanding what it would take to make it happen.

brainkim
brainkim commented Jan 15, 2021

I think having Crank emit errors/warnings in more situations would go a long ways towards compensating for the docs' lack of nuance.

E.g., an async generator returning undefined doesn't strike me as a common thing to want to do, and if someone wants it maybe they should return null so it's explicit. Then Crank could throw an error if an async generator returns undefined. That should