Giter VIP home page Giter VIP logo

Comments (5)

yuezk avatar yuezk commented on May 31, 2024 1

Thanks for the feedback, I will take a look when I have the time.

from vim-jsx-pretty.

moll avatar moll commented on May 31, 2024

It seems to also affect the following nested use:

<ul id="all-subscriptions">
	{subscriptions.map((subscription) => <li>
		<h3>{subscription.initiative_uuid}</h3>
	</li>)}
</ul>

It doesn't detect the nesting of <li> and insists <h3> should align with {subscriptions....

from vim-jsx-pretty.

moll avatar moll commented on May 31, 2024

In fact, if the above snippet is part of another tag, it also seems to break the nesting of </ul>. It tries to unnest </ul> and move it one level lower (leftward) than its opening tag <ul>.

from vim-jsx-pretty.

yuezk avatar yuezk commented on May 31, 2024

@b-nik @moll Sorry for the late update. I have made lots of changes for this plugin, seems that this issue has been fixed in these changes. So could you please update the plugin and verify it? Thanks.

from vim-jsx-pretty.

b-nik avatar b-nik commented on May 31, 2024

@yuezk Tested and it works now. Thanks for your work :)

from vim-jsx-pretty.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.