11 comments

  • A. M. ­DouglasA. M. ­Douglas, almost 5 years ago (edited almost 5 years ago )

    This appears to require jQuery. In a workflow where jQuery is used, this is a great library, nice and lean and neatly integrated.

    Salvattore.js, Bricks.js and even Masonry do not require jQuery, however, and neither do they require an external stylesheet. So, if you're not already using jQuery, that 1.1kb gzipped size isn't much of a selling point considering that I'd have to include jQuery's fat ass.

    2 points
    • Ed AdamsEd Adams, almost 5 years ago

      This isn't judgement on this library in particular, but I'm now finding myself in a position where I'm saying "I can't use this because it's jQuery-dependent." My new projects pretty much don't need jQuery because so many libraries have moved on to vanilla JS.

      This is nice, but... dropping that dependency wouldn't hurt, IMO.

      2 points
      • Fatih Kadir AkinFatih Kadir Akin, almost 5 years ago

        Here one of the authors :) Your comments made us happy and made us to make the library better.

        According to these comments we dropped jQuery dependency and it's purely vanilla.

        And about the CSS dependency, we think an external stylesheet doesn't make things make fatter or harder but cleaner and extensible. And the external CSS which Bricklayer has is not mandatory which you can simply change. You can think of it as a default styling.

        2 points
        • Ed AdamsEd Adams, almost 5 years ago

          That's awesome! I've starred this and will think about using it next time I'm working with a grid layout. Thanks also for responding so gracefully to feedback. :)

          1 point
  • Rıza Selçuk SaydamRıza Selçuk Saydam, almost 5 years ago

    Awesome

    1 point
  • Blake RutledgeBlake Rutledge, almost 5 years ago

    But what about vanilla js

    1 point
  • Julio Marroquin, almost 5 years ago

    Just what I needed :D

    0 points
  • Gabriel Sturk, almost 5 years ago

    Isn't it super weird that the order of the blocks changes after you've resized to "mobile" and then back to "normal"?

    0 points
    • Adem ilterAdem ilter, almost 5 years ago

      We realized this issue this morning. It occurs on prepend action. The last prepended item goes to top of element stack. And when it reorders all the elements from the beginning, it changes the visual order and rearranges boxes which causes this issue.

      2 points
  • Oktay ELIPEKOktay ELIPEK, almost 5 years ago

    Amazing....You left me speechless

    0 points
  • Ammar Ceker, almost 5 years ago

    Simply delicious!

    0 points