Giter VIP home page Giter VIP logo

Comments (4)

janpieterz avatar janpieterz commented on July 4, 2024

This shouldn't be too difficult, besides that one fix to layout that is done locally, I think?
I couldn't really find any breaking changes myself in their changelogs, but I might have overlooked it. If there are none given the HTML structure, it's basically upgrading to the new files, making sure the layout fix is applied, running the tests and that's it.

The layout fix, as far as I can see, is only this change: tleunen/material-design-lite@b776c3e

I'd be more than happy to take this one on, if you could provide some guidance @tleunen ? Mostly confirming my method described above.
I'd also like to be sure about the changes needed for the layout fix you've done not to regress. Perhaps I (or perhaps it's smarter that you do it since you know exactly what the fix does and how to detect it) can write a test for it so we know with future upgrades it won't fall back?

Let me know what you think.

from react-mdl.

tleunen avatar tleunen commented on July 4, 2024

Thanks @janpieterz for taking care of this. I was planning to do it today but you can definitely do it if you want ;)

There are no breaking changes in 1.0.6, it's only a patch version with a few fixes so it shouldn't be hard to update. And yes, you point to the right commit change.

There are no tests yet for the Layout component so everything should still work as before.

The problem it fixes is because componentWillUnmount was never called on any components inside a layout. The fix I suggested resolves that issue. But again, there are no tests yet to make sure it works as expected.

from react-mdl.

janpieterz avatar janpieterz commented on July 4, 2024

I'm having some trouble getting the right base to commit this from. Tried to pull a fork of your material-design-lite repository, checking out release, merging upstream remote back into it, but get way too much merge conflicts (all solvable, but it shouldn't be that hard). Merged release branch can be found here: https://github.com/janpieterz/material-design-lite/tree/release

There's a couple of options I see (new fork directly from Google, re-doing the specific changes to the layout) but there must be an easier way that I'm missing. I have never worked with forks from forks, and would like to make sure I don't fuck it up.

Sorry for the overhead I'm causing.

from react-mdl.

tleunen avatar tleunen commented on July 4, 2024

I think it would be easier to get the latest version from upstream, and then re-apply the changes on top of it.

from react-mdl.

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.