social_net's People
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.