1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#![feature(track_caller)]
pub use atomic_hooks_macros::{atom, reaction};
// storage
mod store;

// hooks
mod state_access;
mod hooks_state_functions;

// reactive state
mod reactive_state_access;
mod reactive_state_functions;


// helpers
mod helpers;
mod observable;
// mod seed_integration;


// public exports
mod prelude;
pub use prelude::*;
pub mod unmount;

#[cfg(test)]
mod tests {
    #[test]
    fn it_works() {
        assert_eq!(2 + 2, 4);
    }
}