Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Router Functionality with Customizable 404 Page and Clean-Up Mechanism #17

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

skorotkiewicz
Copy link

@skorotkiewicz skorotkiewicz commented Feb 5, 2024

  1. Customizable 404 Page Support:
    Added the ability to configure a custom 404 error page. Users can now specify their own route for handling 404 errors, increasing the framework's flexibility and adaptability to individual needs.

  2. Router Clean-Up Mechanism:
    A destroy function for router instances. This function allows for the removal of hashchange event listeners and the cleanup of the router instance from the DOM. This enhancement is particularly useful in SPA applications where dynamism and resource control are essential.

69 lines :)

@skorotkiewicz skorotkiewicz changed the title fix todos Router Functionality with Customizable 404 Page and Clean-Up Mechanism Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant