The Wayback Machine - https://web.archive.org/web/20211028094046/https://github.com/topics/jsx
Skip to content
#

jsx

Here are 3,679 public repositories matching this topic...

prettier
solid
Fordi
Fordi commented Oct 22, 2020

For the most part this just works, but functions within tagged markup get weird indent assertions, e.g.,

        ${collection.map((item) => {
          const { prop1, prop2 } = workWith(item);  // eslint: expected indentation of 4 but found 10 (indent)
          return html`  // eslint: expected indentation of 4 but found 10 (indent)
            <${Widget} prop1=${prop1} prop2=${prop2} />
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

waynebaylor
waynebaylor commented Oct 23, 2021

Using crank v0.4.0 🎉

I have a component that renders some markdown using <Raw/> and noticed that after refreshing the component the markdown would disappear.

For example, the static content in the second <Raw/> tag will disappear after clicking the button to refresh. However, the dynamic content in the first one will still render correctly.

function* App() {
  let ref

Improve this page

Add a description, image, and links to the jsx topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the jsx topic, visit your repo's landing page and select "manage topics."

Learn more