Extending the Compiler with a Custom Runtime

Darken is designed to be extensible. In the future, you will be able to add custom runtimes to the compiler, allowing you to modify or enhance how your application is executed. These runtimes may interact with the compiler or extend the behavior of ↱ Darken\Web\Application and related classes.

Example Ideas

  • Add a custom runtime to the compiler to support new features or integrations.
  • Inject a user from the database automatically into your components or pages.
  • Implement custom logic that runs before or after rendering.

Stay tuned for updates as this feature evolves!