Giter Club home page Giter Club logo

social_net's People

Stargazers

 avatar

Watchers

 avatar  avatar

social_net's Issues

Why the state remains the same when returned back

The problem arises in the fact that when returning it changes the state to the previous form.

The sequence of work is as follows, when I open a modal window in the history is added ex. {from: "/ self", ...rest}; and so I can understand that it is necessary to open a modal window. After which I change the route ex. /p/3 to /p/4 states remain the same, but then when I refresh the page, I delete the state and a new route is rendered with the same path. After returning to /p/3, I want it not to be in the form of a modal window, but even with deleted states in return, it still returns the previous state {from: "/self", ...rest};

The question is how to clear the state in the location object on return.

improve code separation

Separation of code when using a mobile phone and a computer. In order not to download more code than necessary.

fix publicpath

When the project is bundled, the routes will no longer coincide with /, when the live server starts, it starts from the / dist path. To fix it manually, you need to change the path from the root / dist in the routes.

fix historyapifallback

After the bundle, when opening on the server, I cannot go directly to the link I want. Maybe he can't remember. (For example, when sending to the / gallery route, there is no such route, but if start with / then you can get a route to the files).

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.