Giter Site home page Giter Site logo

Comments (5)

lxbarth avatar lxbarth commented on August 16, 2024

I just read through the diff between 0.3.3 and 0.5.1. These are the most important changes for upgrading Bones I'm seeing:

  • Signature of sync() has changed - should be a straightforward adjustment, but it will touch many parts of our code.
  • There are a series of changes to setLocation() (now navigate()) that will require rewriting our overrides for hash bangs.
  • Controller is now Router - simple find and replace adjustment.

from bones.

lxbarth avatar lxbarth commented on August 16, 2024

Per offline discussion with yhahn we'll want to hold on an upgrade of hashbang support for a first iteration.

Before investing further in hashbangs (or fragment support in general) we should seriously consider using pushState and a full-server fallback for browsers that don't support it.

from bones.

lxbarth avatar lxbarth commented on August 16, 2024

I'll start working on this. I'll commit my work to master after branching 1.3. This upgrade will mean we need to go Bones 2.x.x as changes won't be backwards compatible.

from bones.

lxbarth avatar lxbarth commented on August 16, 2024

I have made some good progress here today and committed my changes. All tests are completing and the example works fine, but I have not fully verified the upgrade yet. I'll keep this issue open until I have finalized porting the application I'm currently using Bones for.

from bones.

lxbarth avatar lxbarth commented on August 16, 2024

This is done now. Work all committed to master branch.

from bones.

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.