GithubHelp home page GithubHelp logo

Router-state plugin about akita HOT 4 CLOSED

salesforce avatar salesforce commented on May 22, 2024 7
Router-state plugin

from akita.

Comments (4)

filipjnc avatar filipjnc commented on May 22, 2024 1

@NetanelBasal A rough idea how I synchronized the router with the router-state:
https://stackblitz.com/edit/akita-todos-app-ge8rcp?file=src%2Fapp%2Frouter%2Frouter.service.ts

It's just a quick dirty implementation and there are many things open:

  1. Navigation Cancel and Navigation Error: only the methods with custom actions are there, I got to figure out how to update the state in each case
  2. The ability to provide a custom router serializer: the plugin would need to provide some interfaces/abstract classes to implement
  3. Transform to plugin 😃

from akita.

NetanelBasal avatar NetanelBasal commented on May 22, 2024

It seems like a good idea. Will need to investigate it.

from akita.

NetanelBasal avatar NetanelBasal commented on May 22, 2024

Looks like a good start. My colleague @shaharkazaz also started to investigate this. I migrated the code to an application with routing so you can test it.

https://stackblitz.com/edit/angular-router-basic-example-agvggd

from akita.

NetanelBasal avatar NetanelBasal commented on May 22, 2024

https://medium.com/@NetanelBasal/whats-new-in-akita-v1-9-small-things-that-make-you-happy-b2567bc7c719

from akita.

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.